Remove region check; remove debug early return

This commit is contained in:
Nick Sardo 2017-04-18 12:56:11 -07:00
parent fc9de065c9
commit 591f20f799

View file

@ -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()
}