Skip to content

Commit

Permalink
add remove application finalizer
Browse files Browse the repository at this point in the history
Signed-off-by: LiZhenCheng9527 <[email protected]>
  • Loading branch information
LiZhenCheng9527 committed Jan 19, 2024
1 parent fded0e7 commit 8c853b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/fleet-manager/application/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ func (a *ApplicationManager) reconcileDelete(ctx context.Context, app *applicati
return ctrl.Result{}, errors.Wrapf(err, "failed to delete rollout resource in cluster")
}

controllerutil.RemoveFinalizer(app, ApplicationFinalizer)
return ctrl.Result{}, nil
}

Expand Down

0 comments on commit 8c853b7

Please sign in to comment.