Fix lint error
Some checks failed
Lint Checks / Run linter (pull_request) Successful in 40s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m45s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m56s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Failing after 7m27s
Smoke Test / Run basic test suite (pull_request) Successful in 4m28s

This commit is contained in:
David Boreham 2024-02-16 16:15:02 -07:00
parent e975eccb10
commit 0cd491deb8

View File

@ -53,7 +53,7 @@ def wait_for_ingress_in_kind():
label_selector="app.kubernetes.io/component=controller", label_selector="app.kubernetes.io/component=controller",
timeout_seconds=120): timeout_seconds=120):
if event['object'].status.container_statuses: if event['object'].status.container_statuses:
if event['object'].status.container_statuses[0].ready == True: if event['object'].status.container_statuses[0].ready is True:
return return
error_exit("ERROR: Timed out waiting for ingress to become ready") error_exit("ERROR: Timed out waiting for ingress to become ready")