Skip to content

Commit

Permalink
Fix handling of device-discovery-strategy for GFD
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Lezar <[email protected]>
  • Loading branch information
elezar committed Jun 18, 2024
1 parent ad4aae5 commit 7bc463a
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 7bc463a

Please sign in to comment.