Skip to content

Commit b7bd24d

Browse files
committed
More cli flag cleanup
1 parent 11c0ec3 commit b7bd24d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/agent/app/options/options.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ func (o *GrpcProxyAgentOptions) Flags() *pflag.FlagSet {
132132
flags.BoolVar(&o.SyncForever, "sync-forever", o.SyncForever, "If true, the agent continues syncing, in order to support server count changes.")
133133
flags.IntVar(&o.XfrChannelSize, "xfr-channel-size", 150, "Set the size of the channel for transferring data between the agent and the proxy server.")
134134
flags.StringVar(&o.ServerLeaseSelector, "server-lease-selector", o.ServerLeaseSelector, "Providing a label selector enables updating the server count by counting the number of valid leases matching the selector.")
135-
flags.DurationVar(&o.InformerResync, "informer-resync", o.InformerResync, "Lease informer resync period")
136-
flags.StringVar(&o.KubeconfigPath, "kubeconfig", o.KubeconfigPath, "absolute path to the kubeconfig file (used with agent-namespace, agent-service-account, authentication-audience).")
135+
flags.DurationVar(&o.InformerResync, "informer-resync", o.InformerResync, "Lease informer resync period in seconds")
136+
flags.StringVar(&o.KubeconfigPath, "kubeconfig", o.KubeconfigPath, "absolute path to the kubeconfig file")
137137
return flags
138138
}
139139

0 commit comments

Comments
 (0)