We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d09a879 commit ef524a4Copy full SHA for ef524a4
auth-gke.sh
@@ -2,10 +2,9 @@
2
set -euo pipefail
3
4
main() {
5
- _trace gcloud container clusters get-credentials "$CLUSTER" --project "$PROJECT" --zone "${LOCATION:-$ZONE}"
+ _trace gcloud container clusters get-credentials "$CLUSTER" --project "$PROJECT" --zone "${LOCATION:-${ZONE:-}}"
6
}
7
8
-
9
# Display the underlying command
10
_trace() {
11
cmd=($@)
0 commit comments