Merge branch 'fix-comment' into 'main'

Fix comment

See merge request nvidia/container-toolkit/container-toolkit!329
This commit is contained in:
Evan Lezar 2023-03-08 05:15:38 +00:00
commit c7384c6aee

View File

@ -82,7 +82,7 @@ func (r *Runtimes) add(runtime Runtime) {
} }
// nvidiaRuntime creates a runtime that corresponds to the nvidia runtime. // nvidiaRuntime creates a runtime that corresponds to the nvidia runtime.
// If the nvidiaRuntimeName is specified, this name us used unless this is exactly equal to nvidia-experimental. // If name is equal to one of the predefined runtimes, `nvidia` is used as the runtime name instead.
func (c config) nvidiaRuntime() Runtime { func (c config) nvidiaRuntime() Runtime {
predefinedRuntimes := map[string]struct{}{ predefinedRuntimes := map[string]struct{}{
"nvidia-experimental": {}, "nvidia-experimental": {},