From f46d1861d32deb200fe13933ae7eccc40c86d2e3 Mon Sep 17 00:00:00 2001 From: Kevin Klues Date: Thu, 23 Jul 2020 14:44:03 +0000 Subject: [PATCH] Add stub implementation for getDevicesFromMounts() Signed-off-by: Kevin Klues --- pkg/container_config.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/container_config.go b/pkg/container_config.go index b7f54e0e..fdb2c822 100644 --- a/pkg/container_config.go +++ b/pkg/container_config.go @@ -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) }