Skip to content

Commit 4bda4ea

Browse files
committed
universe: syncServerState logs server address in string format
Updated the syncServerState method to log the server address in string format. This change simplifies log entries, improving clarity and reducing clutter in log files.
1 parent a949174 commit 4bda4ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

universe/auto_syncer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ func (f *FederationEnvoy) Stop() error {
199199
func (f *FederationEnvoy) syncServerState(ctx context.Context,
200200
addr ServerAddr, syncConfigs SyncConfigs) error {
201201

202-
log.Infof("Syncing Universe state with server=%v", spew.Sdump(addr))
202+
log.Infof("Syncing Universe state with server=%s", addr.HostStr())
203203

204204
// Attempt to sync with the remote Universe server, if this errors then
205205
// we'll bail out early as something wrong happened.

0 commit comments

Comments
 (0)