Skip to content

Commit 59ffd7a

Browse files
authored
chore: set default ctrlmesh-proxy user-agent (#30)
1 parent 2e8b51b commit 59ffd7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/proxy/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func main() {
6767
constants.EnvPodNamespace, os.Getenv(constants.EnvPodNamespace), constants.EnvPodName, os.Getenv(constants.EnvPodName))
6868
}
6969
cfg := ctrl.GetConfigOrDie()
70-
70+
cfg.UserAgent = "ctrlmesh"
7171
if err := client.NewRegistry(cfg); err != nil {
7272
klog.Fatalf("Failed to new client registry: %v", err)
7373
}

0 commit comments

Comments
 (0)