Skip to content

Commit e44f7e6

Browse files
authored
Fix check_passwords_leak function in tests for older bash versions (#419)
1 parent 45402ad commit e44f7e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

e2e-tests/functions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ check_passwords_leak() {
474474
containers=$(kubectl -n "$NS" get pod $p -o jsonpath='{.spec.containers[*].name}')
475475
for c in $containers; do
476476
# temporary, because of: https://jira.percona.com/browse/PMM-8357
477-
if [[ ${c,,} =~ "pmm" ]]; then
477+
if [[ ${c} =~ "pmm" ]]; then
478478
continue
479479
fi
480480
kubectl -n "$NS" logs $p -c $c > ${TEMP_DIR}/logs_output-$p-$c.txt
@@ -496,4 +496,4 @@ check_passwords_leak() {
496496
pods=$(kubectl -n "${OPERATOR_NS}" get pods -o name | awk -F "/" '{print $2}')
497497
collect_logs $OPERATOR_NS
498498
fi
499-
}
499+
}

0 commit comments

Comments
 (0)