Skip to content

Commit b715dc8

Browse files
authored
Merge pull request #1377 from elezar/fix-generate-mode-from-file
Don't read cdi generate mode from runtime mode
2 parents 4bc3668 + 6c3de34 commit b715dc8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmd/nvidia-ctk/cdi/generate/generate.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ func (m command) build() *cli.Command {
132132
Destination: &opts.mode,
133133
Sources: cli.NewValueSourceChain(
134134
cli.EnvVar("NVIDIA_CTK_CDI_GENERATE_MODE"),
135-
m.config.ValueFrom("nvidia-container-runtime.mode"),
136135
),
137136
},
138137
&cli.StringFlag{

0 commit comments

Comments
 (0)