From 697878734b3cef5fc9c13b0324875712b24a4207 Mon Sep 17 00:00:00 2001 From: gabriel-farache Date: Wed, 18 Dec 2024 10:26:49 +0100 Subject: [PATCH] Fix M2K CI Signed-off-by: gabriel-farache --- e2e/move2kube.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/move2kube.sh b/e2e/move2kube.sh index 5f1c46b0..35db0d20 100755 --- a/e2e/move2kube.sh +++ b/e2e/move2kube.sh @@ -127,7 +127,7 @@ echo "Wait until Knative function running" nb_pods=$(kubectl get pods -l app=m2k-save-transformation-func-v1 --no-headers | wc -l) done -if [[ $nb_pods -ne 1 ]] +if [[ $nb_pods -eq 0 ]] then echo "Knative function not running...exiting " exit 1