Skip to content

Commit 0c15b7b

Browse files
committed
Update admiral user-agent to allow differentiation
This ensures that each vmomi client has a unique user-agent string so it is possible to link vmomi sessions back to the originating component within a VCH. The only user-agent that needed updating was the one used to pull project specific configuration from admiral/harbor. This follows on from PR vmware#7887
1 parent 46ec9b7 commit 0c15b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/apiservers/engine/backends/backends.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ func newSession(ctx context.Context, config *config.VirtualContainerHostConfigSp
532532
User: url.UserPassword(config.Username, config.Token),
533533
Thumbprint: config.TargetThumbprint,
534534
Keepalive: defaultSessionKeepAlive,
535-
UserAgent: version.UserAgent("vic-engine"),
535+
UserAgent: version.UserAgent("vic-dynamic-config"),
536536
}
537537

538538
sess := session.NewSession(sessCfg)

0 commit comments

Comments
 (0)