mirror of https://github.com/linkerd/linkerd2.git
bin/test-clouds-cleanup: Fix shellcheck issues (#4422)
shellcheck will not accept the string DO since it is not sure whether it is a misspelled do command or a string with DO. Explicitly quoting it will mitigate this. Signed-off-by: Joakim Roubert <joakimr@axis.com>
This commit is contained in:
parent
cc1279b4ba
commit
68e25f2c11
|
@ -88,7 +88,6 @@ jobs:
|
|||
! -name protoc-go.sh \
|
||||
! -name _tag.sh \
|
||||
! -name test-cleanup \
|
||||
! -name test-clouds-cleanup \
|
||||
! -name test-clouds \
|
||||
! -name _test-run.sh \
|
||||
! -name update-go-deps-shas \
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
set -e
|
||||
|
||||
for CLUSTER in AKS DO EKS GKE; do
|
||||
for CLUSTER in 'AKS' 'DO' 'EKS' 'GKE'; do
|
||||
if [ -z "${!CLUSTER}" ]; then
|
||||
echo "\$$CLUSTER not set" >&2
|
||||
exit 64
|
||||
|
@ -23,5 +23,5 @@ done
|
|||
for CLUSTER in $AKS $DO $EKS $GKE
|
||||
do
|
||||
printf '\n%s\n' "$CLUSTER"
|
||||
bin/test-cleanup $CLUSTER
|
||||
bin/test-cleanup "$CLUSTER"
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue