From 8628a883f388c94273fd79a68969b6204f21f1e2 Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Fri, 22 Dec 2023 15:26:32 +0000 Subject: [PATCH] fixup - try Wainer's suggested fix Signed-off-by: stevenhorsman --- controllers/ccruntime_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/ccruntime_controller.go b/controllers/ccruntime_controller.go index 5aae0854..382faeaf 100644 --- a/controllers/ccruntime_controller.go +++ b/controllers/ccruntime_controller.go @@ -633,7 +633,7 @@ func (r *CcRuntimeReconciler) processDaemonset(operation DaemonOperation) *appsv for _, runtimeClass := range r.ccRuntime.Spec.Config.RuntimeClasses { runtimeClassNames = append(runtimeClassNames, runtimeClass.Name) - if runtimeClass.Snapshotter != "" { + if runtimeClass.Snapshotter == "" { if snapshotter_handler_mapping != "" { snapshotter_handler_mapping += runtimeClass.Name + ":" + runtimeClass.Snapshotter } else {