Fix comment

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2023-03-08 07:15:05 +02:00
parent 1c696b1e39
commit 1c3c9143f8

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": {},