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

@@ -193,7 +193,6 @@ func createPD() (string, error) {
}
volumeOptions := &aws_cloud.VolumeOptions{}
volumeOptions.CapacityMB = 10 * 1024
volumeOptions.Zone = testContext.cloudConfig.Zone
return volumes.CreateVolume(volumeOptions)
} else {
return "", fmt.Errorf("Unsupported provider type")