1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-31 04:04:51 +00:00

shorten flag name

This commit is contained in:
Igor Velichkovich 2025-01-04 17:40:08 -08:00
parent 96d47a4a9b
commit 4bb892fd4d

View file

@ -117,7 +117,7 @@ func initFlags(flagset *flag.FlagSet) (*master.Args, *master.ConfigOverrideArgs)
"in the same format as in the config file (i.e. json or yaml). These options")
flagset.BoolVar(&args.EnableLeaderElection, "enable-leader-election", false,
"Enables a leader election. Enable this when running more than one replica on nfd master.")
flagset.Int64Var(&args.ListSize, "node-feature-informer-list-size", 0,
flagset.Int64Var(&args.ListSize, "informer-list-size", 0,
"The list size to use when listing node features to sync informer cache. Size of zero disables pagination.")
args.Klog = klogutils.InitKlogFlags(flagset)