We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad4aae5 commit 7bc463aCopy full SHA for 7bc463a
cmd/gpu-feature-discovery/main.go
@@ -103,9 +103,9 @@ func main() {
103
Usage: "Use NFD NodeFeature API to publish labels",
104
EnvVars: []string{"GFD_USE_NODE_FEATURE_API", "USE_NODE_FEATURE_API"},
105
},
106
- &cli.StringSliceFlag{
+ &cli.StringFlag{
107
Name: "device-discovery-strategy",
108
- Value: cli.NewStringSlice("auto"),
+ Value: "auto",
109
Usage: "the strategy to use to discover devices: 'auto', 'nvml', 'tegra' or 'vfio'",
110
EnvVars: []string{"DEVICE_DISCOVERY_STRATEGY"},
111
0 commit comments