Skip to content

Commit

Permalink
[wait-for-cluster.sh] Update the script in autogen folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
omazin committed Oct 18, 2019
1 parent 1668b64 commit af8f1b8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion autogen/scripts/wait-for-cluster.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright 2018 Google LLC
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -15,6 +15,10 @@

set -e

if [ -n "${GOOGLE_APPLICATION_CREDENTIALS}" ]; then
CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE=${GOOGLE_APPLICATION_CREDENTIALS}
fi

PROJECT=$1
CLUSTER_NAME=$2
gcloud_command="gcloud container clusters list --project=$PROJECT --format=json"
Expand Down

0 comments on commit af8f1b8

Please sign in to comment.