[OOM Readiness] Fix endloss loop for statefulset pod checks 94/140594/1 6.1.2
authorAndreas Seelinger <andreas.seelinger@accenture.com>
Tue, 25 Mar 2025 17:10:49 +0000 (18:10 +0100)
committerAndreas Seelinger <andreas.seelinger@accenture.com>
Tue, 25 Mar 2025 17:10:49 +0000 (18:10 +0100)
Issue-ID: OOM-3338

Change-Id: Ief33d420633c79ae543bced13d67ccec4c5a0ed1
Signed-off-by: Andreas Seelinger <andreas.seelinger@accenture.com>
ready.py

index eda4c93..4bd62a9 100755 (executable)
--- a/ready.py
+++ b/ready.py
@@ -299,7 +299,7 @@ def fetch_pod_and_check_if_ready(pod_name):
                                                  watch=False)
         for pod in response.items:
           if (pod.metadata.name.startswith(pod_name)):
-            is_pod_ready(pod)
+            ready = is_pod_ready(pod)
     except ApiException as exc:
         log.error("Exception when calling list_namespaced_pod: %s\n", exc)
     return ready