core/config: remove version (#4653)

* core/config: remove version

* lint

* fix
This commit is contained in:
Caleb Doxsey 2023-11-01 10:19:55 -06:00 committed by GitHub
parent 6511440c2f
commit 53573dc046
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 761 additions and 800 deletions

View file

@ -26,7 +26,7 @@ func (srv *Server) buildDiscoveryResources(ctx context.Context) (map[string][]*e
cfg := srv.currentConfig.Load()
log.Info(ctx).Int64("config-version", cfg.Version).Msg("controlplane: building discovery resources")
log.Info(ctx).Msg("controlplane: building discovery resources")
eg, ctx := errgroup.WithContext(ctx)
@ -84,7 +84,6 @@ func (srv *Server) buildDiscoveryResources(ctx context.Context) (map[string][]*e
}
log.Info(ctx).
Int64("config-version", cfg.Version).
Int("cluster-count", len(clusterResources)).
Int("listener-count", len(listenerResources)).
Int("route-configuration-count", len(routeConfigurationResources)).