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:
Joakim Roubert 2020-05-18 20:53:24 +02:00 committed by GitHub
parent cc1279b4ba
commit 68e25f2c11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -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 \

View File

@ -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