mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-29 07:21:46 +00:00
Merge branch 'fix-comment' into 'main'
Fix comment See merge request nvidia/container-toolkit/container-toolkit!329
This commit is contained in:
commit
c7384c6aee
@ -82,7 +82,7 @@ func (r *Runtimes) add(runtime 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 {
|
||||
predefinedRuntimes := map[string]struct{}{
|
||||
"nvidia-experimental": {},
|
||||
|
Loading…
Reference in New Issue
Block a user