From 43738d6caa15a5f6f4b2f5f396f90f72a611045c Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Fri, 10 Dec 2021 15:43:47 +0200 Subject: [PATCH] tests: Fix for unbound variable --- test/cases/api.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/cases/api.sh b/test/cases/api.sh index cb24e41d1..879b84d78 100755 --- a/test/cases/api.sh +++ b/test/cases/api.sh @@ -238,6 +238,7 @@ function cleanupAzure() { # since this function can be called at any time, ensure that we don't expand unbound variables AZURE_CMD="${AZURE_CMD:-}" AZURE_IMAGE_NAME="${AZURE_IMAGE_NAME:-}" + AZURE_INSTANCE_NAME="${AZURE_INSTANCE_NAME:-}" # do not run clean-up if the image name is not yet defined if [[ -n "$AZURE_CMD" && -n "$AZURE_IMAGE_NAME" ]]; then