@@ -488,7 +488,7 @@ func (r *Reconciler) garbageCollectAppliedWork(ctx context.Context, work *fleetv
488488 return r .removeWorkFinalizer (ctx , work )
489489 }
490490 klog .ErrorS (err , "Failed to get AppliedWork" , "appliedWork" , work .Name )
491- return ctrl.Result {}, controller .NewAPIServerError (false , err )
491+ return ctrl.Result {Requeue : true }, controller .NewAPIServerError (false , err )
492492 }
493493
494494 // Delete the appliedWork object.
@@ -505,11 +505,11 @@ func (r *Reconciler) garbageCollectAppliedWork(ctx context.Context, work *fleetv
505505 return r .removeWorkFinalizer (ctx , work )
506506 }
507507 klog .V (2 ).ErrorS (err , "Failed to delete the appliedWork" , "appliedWork" , work .Name )
508- return ctrl.Result {Requeue : true }, controller .NewAPIServerError (false , err )
508+ return ctrl.Result {}, controller .NewAPIServerError (false , err )
509509 }
510510 }
511511 klog .V (2 ).InfoS ("AppliedWork deletion in progress" , "appliedWork" , work .Name )
512- return ctrl.Result {Requeue : true }, fmt .Errorf ("AppliedWork %s is being deleted, waiting for the deletion to complete" , work .Name )
512+ return ctrl.Result {}, fmt .Errorf ("AppliedWork %s is being deleted, waiting for the deletion to complete" , work .Name )
513513}
514514
515515// updateOwnerReference updates the AppliedWork owner reference in the manifest objects.
0 commit comments