Add stub implementation for getDevicesFromMounts()

Signed-off-by: Kevin Klues <kklues@nvidia.com>
This commit is contained in:
Kevin Klues 2020-07-23 14:44:03 +00:00
parent 889ebae1fe
commit f46d1861d3

View File

@ -235,6 +235,10 @@ func getDevicesFromEnvvar(env map[string]string, legacyImage bool) *string {
return devices 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 { func getDevices(hookConfig *HookConfig, env map[string]string, mounts []Mount, privileged bool, legacyImage bool) *string {
return getDevicesFromEnvvar(env, legacyImage) return getDevicesFromEnvvar(env, legacyImage)
} }