From 177adf9c0141178f06aa1062b7b3a9295d2d4406 Mon Sep 17 00:00:00 2001 From: Erik Godding Boye Date: Wed, 5 Mar 2025 10:38:18 +0100 Subject: [PATCH] Update internal/controller/stas/workload_controller.go Co-authored-by: Amund Tenstad --- internal/controller/stas/workload_controller.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/controller/stas/workload_controller.go b/internal/controller/stas/workload_controller.go index cd58f707..7069e497 100644 --- a/internal/controller/stas/workload_controller.go +++ b/internal/controller/stas/workload_controller.go @@ -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