mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 00:08:11 +00:00
Fix comment
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
1c696b1e39
commit
1c3c9143f8
@ -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": {},
|
||||||
|
Loading…
Reference in New Issue
Block a user