diff --git a/controllers/hostportclass_controller.go b/controllers/hostportclass_controller.go index b4a1122..fd035b0 100644 --- a/controllers/hostportclass_controller.go +++ b/controllers/hostportclass_controller.go @@ -51,7 +51,7 @@ func (r *HostPortClassReconciler) Reconcile(req ctrl.Request) (ctrl.Result, erro // If class is deleting if hpcl.DeletionTimestamp.IsZero() == false { - if controllerutil.ContainsFinalizer(hpcl, hostportv1alpha1.HostPortFinalizer) { + if controllerutil.ContainsFinalizer(hpcl, hostportv1alpha1.HostPortFinalizer) == false { return ctrl.Result{}, nil }