Skip to content

Commit

Permalink
Update internal/controller/stas/workload_controller.go
Browse files Browse the repository at this point in the history
Co-authored-by: Amund Tenstad <[email protected]>
  • Loading branch information
erikgb and tenstad authored Mar 5, 2025
1 parent 97054fd commit 177adf9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/controller/stas/workload_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ func (r *PodReconciler) reconcilePod() reconcile.Func {
}

switch res.Status {
case kstatus.FailedStatus:
case kstatus.TerminatingStatus:
case kstatus.FailedStatus, kstatus.TerminatingStatus:
return ctrl.Result{}, nil
case kstatus.InProgressStatus:
return ctrl.Result{Requeue: true}, nil
Expand Down

0 comments on commit 177adf9

Please sign in to comment.