Always create volumes in the active k8s zone

This commit is contained in:
Justin Santa Barbara
2015-03-27 08:59:07 -07:00
parent ffadd5533a
commit 6a4153fc0a
3 changed files with 8 additions and 6 deletions

View File

@@ -75,6 +75,10 @@ func main() {
if *provider == "aws" {
awsConfig := "[Global]\n"
if *gceZone == "" {
glog.Error("gce_zone must be specified for AWS")
os.Exit(1)
}
awsConfig += fmt.Sprintf("Zone=%s\n", *gceZone)
var err error