Skip to content

Commit e85a7a0

Browse files
author
Arvind Thirumurugan
committed
address minor comment
Signed-off-by: Arvind Thirumurugan <arvindth@microsoft.com>
1 parent 3c8db43 commit e85a7a0

File tree

1 file changed

+1
-1
lines changed
  • approval-controller-metric-collector/approval-request-controller/pkg/controller

1 file changed

+1
-1
lines changed

approval-controller-metric-collector/approval-request-controller/pkg/controller/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ func (r *Reconciler) reconcileApprovalRequestObj(ctx context.Context, approvalRe
193193
// Check workload health and approve if all workloads are healthy
194194
if err := r.checkWorkloadHealthAndApprove(ctx, approvalReqObj, clusterNames, updateRunName, stageName); err != nil {
195195
klog.ErrorS(err, "Failed to check workload health", "approvalRequest", approvalReqRef)
196-
return ctrl.Result{RequeueAfter: 15 * time.Second}, err
196+
return ctrl.Result{}, err
197197
}
198198

199199
// Requeue after 15 seconds to check again (will stop if approved in next reconciliation)

0 commit comments

Comments
 (0)