diff --git a/e2e-tests/functions b/e2e-tests/functions index 31900b36c7..08a9b905f2 100755 --- a/e2e-tests/functions +++ b/e2e-tests/functions @@ -1295,6 +1295,9 @@ check_passwords_leak() { echo pods=$pods collect_logs() { + local containers + local count + NS=$1 for p in $pods; do containers=$(kubectl_bin -n "$NS" get pod $p -o jsonpath='{.spec.containers[*].name}')