From e1db7dc6fb698253e3177b3a74002951aff3d536 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Sun, 9 Feb 2025 22:25:09 +0100 Subject: [PATCH] Ensure that mode hook is executed last Signed-off-by: Evan Lezar --- internal/runtime/runtime_factory.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/runtime/runtime_factory.go b/internal/runtime/runtime_factory.go index aca8ab44..e88213dc 100644 --- a/internal/runtime/runtime_factory.go +++ b/internal/runtime/runtime_factory.go @@ -128,8 +128,8 @@ func supportedModifierTypes(mode string) []string { return []string{"nvidia-hook-remover", "mode"} case "csv": // 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: - return []string{"mode", "graphics", "feature-gated"} + return []string{"feature-gated", "graphics", "mode"} } }