Skip to content

Commit

Permalink
fix: log message
Browse files Browse the repository at this point in the history
Co-authored-by: Ishita Sequeira <[email protected]>
Signed-off-by: Takumi Sue <[email protected]>
  • Loading branch information
mikutas and ishitasequeira authored Apr 1, 2024
1 parent 2873564 commit 1336e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applicationset/controllers/applicationset_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (r *ApplicationSetReconciler) Reconcile(ctx context.Context, req ctrl.Reque
// Do not attempt to further reconcile the ApplicationSet if it is being deleted.
if applicationSetInfo.ObjectMeta.DeletionTimestamp != nil {
appsetName := applicationSetInfo.ObjectMeta.Name
logCtx.Debugf("DeletionTimestamp is set to %s", appsetName)
logCtx.Debugf("DeletionTimestamp is set on %s", appsetName)
deleteAllowed := utils.DefaultPolicy(applicationSetInfo.Spec.SyncPolicy, r.Policy, r.EnablePolicyOverride).AllowDelete()
if !deleteAllowed {
logCtx.Debugf("ApplicationSet policy does not allow to delete")
Expand Down

0 comments on commit 1336e99

Please sign in to comment.