Skip to content

Commit

Permalink
Merge pull request #992 from marquiz/fixes/enable-nodefeature-flag
Browse files Browse the repository at this point in the history
nfd-master: fix creation of the -enable-nodefeature-api flag
  • Loading branch information
k8s-ci-robot authored Dec 14, 2022
2 parents cb7e8ac + 81b0945 commit e109570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nfd-master/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func initFlags(flagset *flag.FlagSet) *master.Args {
flagset.Var(&args.LabelWhiteList, "label-whitelist",
"Regular expression to filter label names to publish to the Kubernetes API server. "+
"NB: the label namespace is omitted i.e. the filter is only applied to the name part after '/'.")
flagset.BoolVar(&args.EnableNodeFeatureApi, "-enable-nodefeature-api", false,
flagset.BoolVar(&args.EnableNodeFeatureApi, "enable-nodefeature-api", false,
"Enable the NodeFeature CRD API for receiving node features. This will automatically disable the gRPC communication.")
flagset.BoolVar(&args.NoPublish, "no-publish", false,
"Do not publish feature labels")
Expand Down

0 comments on commit e109570

Please sign in to comment.