From 5ed38569f78c258684569592eb999c1f776abcf7 Mon Sep 17 00:00:00 2001 From: pascal Date: Mon, 3 Aug 2026 23:19:55 +0200 Subject: [PATCH] fix PrivateServiceCandidates nil assumption --- management/server/types/legacynmap/equivalence_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/management/server/types/legacynmap/equivalence_test.go b/management/server/types/legacynmap/equivalence_test.go index f80734165..a7785d330 100644 --- a/management/server/types/legacynmap/equivalence_test.go +++ b/management/server/types/legacynmap/equivalence_test.go @@ -146,10 +146,10 @@ func checkAccount(ctx context.Context, t *testing.T, nmStore *networkmap_pgsql.P // every peer counts as validated, matching the legacy side's map. nmData.ValidatedPeers = validated // The legacy side receives no account zones (main sourced them from the - // external zones manager), so the DB-sourced zone candidates must be dropped - // to keep the comparison surface identical. + // external zones manager), so the DB-sourced applied-zone candidates must be + // dropped to keep the comparison surface identical. PrivateServiceCandidates + // stay: all paths derive them from account/DB data. nmData.AppliedZoneCandidates = nil - nmData.PrivateServiceCandidates = nil resourcePolicies := account.GetResourcePoliciesMap() routers := account.GetResourceRoutersMap()