mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-24 21:14:00 +00:00
Add stub implementation for getDevicesFromMounts()
Signed-off-by: Kevin Klues <kklues@nvidia.com>
This commit is contained in:
parent
889ebae1fe
commit
f46d1861d3
@ -235,6 +235,10 @@ func getDevicesFromEnvvar(env map[string]string, legacyImage bool) *string {
|
||||
return devices
|
||||
}
|
||||
|
||||
func getDevicesFromMounts(root string, mounts []Mount) *string {
|
||||
return nil
|
||||
}
|
||||
|
||||
func getDevices(hookConfig *HookConfig, env map[string]string, mounts []Mount, privileged bool, legacyImage bool) *string {
|
||||
return getDevicesFromEnvvar(env, legacyImage)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user