Skip to content

Commit

Permalink
Merge pull request #775 from elezar/fix-gfd-device-discovery-strategy
Browse files Browse the repository at this point in the history
Fix handling of device-discovery-strategy for GFD
  • Loading branch information
elezar authored Jun 18, 2024
2 parents ad4aae5 + 7bc463a commit 0403911
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/gpu-feature-discovery/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ func main() {
Usage: "Use NFD NodeFeature API to publish labels",
EnvVars: []string{"GFD_USE_NODE_FEATURE_API", "USE_NODE_FEATURE_API"},
},
&cli.StringSliceFlag{
&cli.StringFlag{
Name: "device-discovery-strategy",
Value: cli.NewStringSlice("auto"),
Value: "auto",
Usage: "the strategy to use to discover devices: 'auto', 'nvml', 'tegra' or 'vfio'",
EnvVars: []string{"DEVICE_DISCOVERY_STRATEGY"},
},
Expand Down

0 comments on commit 0403911

Please sign in to comment.