File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -851,13 +851,19 @@ psm::tools::log() {
851851# Globals:
852852# GKE_CLUSTER_NAME: Set to reflect the cluster name to use
853853# GKE_CLUSTER_ZONE: Set to reflect the cluster zone to use.
854+ # This variable will be empty for regional clusters.
854855# GKE_CLUSTER_REGION: Set to reflect the cluster region to use (for regional clusters).
856+ # This variable will be empty for zonal clusters.
855857# Arguments:
856858# The cluster identifier
857859# Outputs:
858860# Writes the output to stdout, stderr
859861# ######################################
860862activate_gke_cluster () {
863+ # Reset the variables: activate_gke_cluster may be called multiple times.
864+ GKE_CLUSTER_REGION=" "
865+ GKE_CLUSTER_ZONE=" "
866+ GKE_CLUSTER_NAME=" "
861867 case $1 in
862868 GKE_CLUSTER_PSM_LB)
863869 GKE_CLUSTER_NAME=" psm-interop-lb-primary"
You can’t perform that action at this time.
0 commit comments