diff options
author | othman touijer <othman.touijer@soprasteria.com> | 2021-12-02 18:17:45 +0100 |
---|---|---|
committer | othman touijer <othman.touijer@soprasteria.com> | 2021-12-02 18:17:45 +0100 |
commit | 960cab94d6be5fa2e165bba1aabb9b973fa3e5b3 (patch) | |
tree | 29d40d670f55fb773842362ebb9b6610f2f3a7bf /ready.py | |
parent | aabacc1226e357a2a6cc35faa6d9f6eca412472b (diff) |
[READINESS] Update readiness script4.1.0
Fix condition to restrain to running pods
Issue-ID: OOM-2878
Signed-off-by: othman touijer <othman.touijer@soprasteria.com>
Change-Id: Ib10697793a72206cde9040661cf34030833f0a67
Diffstat (limited to 'ready.py')
-rwxr-xr-x | ready.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -224,7 +224,7 @@ def service_mesh_job_check(container_name): if item.status.container_statuses is None: continue for container in item.status.container_statuses: - if container.name == container_name: + if container.name == container_name and item.status.phase == "Running": name = read_name(item) log.info("Container Details %s ", container) log.info("Container Status %s ", container.state.terminated) |