mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-04-22 23:24:18 +00:00
Ensure that mode hook is executed last
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
e330a938fd
commit
9f611a5a23
@ -128,8 +128,8 @@ func supportedModifierTypes(mode string) []string {
|
|||||||
return []string{"nvidia-hook-remover", "mode"}
|
return []string{"nvidia-hook-remover", "mode"}
|
||||||
case "csv":
|
case "csv":
|
||||||
// For CSV mode we support mode and feature-gated modification.
|
// For CSV mode we support mode and feature-gated modification.
|
||||||
return []string{"nvidia-hook-remover", "mode", "feature-gated"}
|
return []string{"nvidia-hook-remover", "feature-gated", "mode"}
|
||||||
default:
|
default:
|
||||||
return []string{"mode", "graphics", "feature-gated"}
|
return []string{"feature-gated", "graphics", "mode"}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user