Commit 7a3267f8 authored by Isaac Hollander McCreery's avatar Isaac Hollander McCreery

Merge pull request #23102 from ihmccreery/cmd-group

Fix CMD_GROUP reference to not fail if CMD_GROUP isn't set
parents e3049d6e 4ca19568
......@@ -48,7 +48,7 @@ function fetch_output_tars() {
function fetch_server_version_tars() {
clean_binaries
local -r msg=$(gcloud ${CMD_GROUP} container get-server-config --project=${PROJECT} --zone=${ZONE} | grep defaultClusterVersion)
local -r msg=$(gcloud ${CMD_GROUP:-} container get-server-config --project=${PROJECT} --zone=${ZONE} | grep defaultClusterVersion)
# msg will look like "defaultClusterVersion: 1.0.1". Strip
# everything up to, including ": "
local -r build_version="v${msg##*: }"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment