-
Task
-
Resolution: Done
-
Normal
-
None
-
None
-
0.5
-
False
-
None
-
False
-
Yes
-
MGDAPI Sprint 30
WHAT
We need this state check https://github.com/integr8ly/integreatly-operator/blob/master/pkg/products/marin3r/rateLimitService.go#L557 to be refactored to:
if pod.Status.Phase != corev1.PodRunning
Reason being that a pod can be in non running state while not being marked as pending or failed.
HOW
Refactor
TESTS
Double check if unit tests are affected
DONE
Logic is refactored and unit tests are updated if exists, if not, consider adding them in.