Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen6585 committed Sep 14, 2023
1 parent 7241ba4 commit c2c8515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/k8sapi/k8sutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func getRestConfig() (*rest.Config, error) {
if err != nil {
return nil, err
}
restCfg.UserAgent = os.Args[0] + utils.GetEnv("VPC_CNI_VERSION", "")
restCfg.UserAgent = os.Args[0] + "-" + utils.GetEnv("VPC_CNI_VERSION", "")
if endpoint, ok := os.LookupEnv("CLUSTER_ENDPOINT"); ok {
restCfg.Host = endpoint
}
Expand Down

0 comments on commit c2c8515

Please sign in to comment.