Skip to content

Commit

Permalink
fixup - try Wainer's suggested fix
Browse files Browse the repository at this point in the history
Signed-off-by: stevenhorsman <[email protected]>
  • Loading branch information
stevenhorsman committed Dec 22, 2023
1 parent 083f0f5 commit 8628a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/ccruntime_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8628a88

Please sign in to comment.