Skip to content

Commit 61d2df3

Browse files
authored
Merge pull request #516 from CecileRobertMichon/unbound-var
fix unbound AZURE_CREDENTIALS var error
2 parents 2c3a311 + 9dc5df0 commit 61d2df3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/create-dev-cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set -o nounset
1818
set -o pipefail
1919

2020
# for Prow we use the provided AZURE_CREDENTIALS file
21-
if [[ -n "${AZURE_CREDENTIALS}" ]]; then
21+
if [[ -n "${AZURE_CREDENTIALS:-}" ]]; then
2222
export AZURE_SUBSCRIPTION_ID="$(cat ${AZURE_CREDENTIALS} | grep SubscriptionID | cut -d '=' -f 2)"
2323
export AZURE_TENANT_ID="$(cat ${AZURE_CREDENTIALS} | grep TenantID | cut -d '=' -f 2)"
2424
export AZURE_CLIENT_ID="$(cat ${AZURE_CREDENTIALS} | grep ClientID | cut -d '=' -f 2)"

0 commit comments

Comments
 (0)