Skip to content

Commit

Permalink
Treat empty mode as auto
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Lezar <[email protected]>
  • Loading branch information
elezar committed Apr 2, 2024
1 parent 6d425e1 commit ec1fae1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/runtime/runtime_factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,12 @@ func TestFactoryMethod(t *testing.T) {
},
},
{
description: "empty mode raises error",
description: "empty mode returns modifier",
cfg: &config.Config{
NVIDIAContainerRuntimeConfig: config.RuntimeConfig{
Runtimes: []string{"runc"},
},
},
expectedError: true,
},
}

Expand Down

0 comments on commit ec1fae1

Please sign in to comment.