Remove region check; remove debug early return
This commit is contained in:
parent
fc9de065c9
commit
591f20f799
1 changed files with 0 additions and 10 deletions
|
@ -53,12 +53,6 @@ func main() {
|
|||
panic(fmt.Errorf("expected either %s or %s, actual: %v", balancingModeRATE, balancingModeUTIL, targetBalancingMode))
|
||||
}
|
||||
|
||||
switch regionName {
|
||||
case "asia-east1", "asia-northeast1", "europe-west1", "us-central1", "us-east1", "us-west1":
|
||||
default:
|
||||
panic(fmt.Errorf("expected a valid GCP region, actual: %v", regionName))
|
||||
}
|
||||
|
||||
igs = make(map[string]*compute.InstanceGroup)
|
||||
|
||||
tokenSource, err := google.DefaultTokenSource(
|
||||
|
@ -150,10 +144,6 @@ func main() {
|
|||
return
|
||||
}
|
||||
|
||||
if true {
|
||||
return
|
||||
}
|
||||
|
||||
// Performing update for 2+ backend services
|
||||
updateMultipleBackends()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue