Skip to content

Commit 6e389e1

Browse files
[no-relnote] Fix typo on nvidia-ctk-hook cmd
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
1 parent 62f28e7 commit 6e389e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/nvidia-cdi-hook/create-symlinks/create-symlinks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func (m command) build() *cli.Command {
8181
return &c
8282
}
8383

84-
func (m command) run(_ *cli.Command, cfg *config) error {
84+
func (m command) run(cmd *cli.Command, cfg *config) error {
8585
s, err := oci.LoadContainerState(cfg.containerSpec)
8686
if err != nil {
8787
return fmt.Errorf("failed to load container state: %v", err)

cmd/nvidia-cdi-hook/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func main() {
8080
Usage: "Suppress all output except for errors; overrides --debug",
8181
Destination: &opts.Quiet,
8282
// TODO: Support for NVIDIA_CDI_QUIET is deprecated and NVIDIA_CTK_QUIET should be used instead.
83-
Sources: cli.EnvVars("NVDIA_CTK_QUIET", "NVIDIA_CDI_QUIET"),
83+
Sources: cli.EnvVars("NVIDIA_CTK_QUIET", "NVIDIA_CDI_QUIET"),
8484
},
8585
}
8686

0 commit comments

Comments
 (0)