Skip to content
This repository was archived by the owner on Feb 18, 2024. It is now read-only.

Commit afc388f

Browse files
committed
fix
1 parent 75d9e33 commit afc388f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module-controller/internal/controller/moduledeployment_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ func (r *ModuleDeploymentReconciler) Reconcile(ctx context.Context, req ctrl.Req
9191
}
9292
return ctrl.Result{}, nil
9393
}
94-
9594
}
9695

9796
if moduleDeployment.Generation == 1 {
@@ -278,6 +277,7 @@ func (r *ModuleDeploymentReconciler) updateOwnerReference(ctx context.Context, m
278277
})
279278
moduleDeployment.SetOwnerReferences(ownerReference)
280279
utils.AddFinalizer(&moduleDeployment.ObjectMeta, finalizer.ModuleReplicaSetExistedFinalizer)
280+
utils.AddFinalizer(&moduleDeployment.ObjectMeta, finalizer.ModuleExistedFinalizer)
281281
err = utils.UpdateResource(r.Client, ctx, moduleDeployment)
282282
if err != nil {
283283
return utils.Error(err, "Failed to update moduleDeployment", "moduleDeploymentName", moduleDeployment.Name)

0 commit comments

Comments
 (0)