From 4bb892fd4d4b2cc0c412997af8e09101ee6e6dc9 Mon Sep 17 00:00:00 2001 From: Igor Velichkovich Date: Sat, 4 Jan 2025 17:40:08 -0800 Subject: [PATCH] shorten flag name --- cmd/nfd-master/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/nfd-master/main.go b/cmd/nfd-master/main.go index a4f08ed1c..835583dea 100644 --- a/cmd/nfd-master/main.go +++ b/cmd/nfd-master/main.go @@ -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)