add possibility to leave AZ empty, and it will automatically generate zone for it

update bazel

fix gofmt

make getzones function lowercase

add az to log
This commit is contained in:
Jesse Haka
2017-05-01 21:59:24 +03:00
parent cdc0cbdac4
commit 66e49eecca
8 changed files with 77 additions and 34 deletions

View File

@@ -480,8 +480,8 @@ func (os *Rackspace) GetZone() (cloudprovider.Zone, error) {
}
// Create a volume of given size (in GiB)
func (rs *Rackspace) CreateVolume(name string, size int, vtype, availability string, tags *map[string]string) (volumeName string, err error) {
return "", errors.New("unimplemented")
func (rs *Rackspace) CreateVolume(name string, size int, vtype, availability string, tags *map[string]string) (volumeName string, volumeAZ string, err error) {
return "", "", errors.New("unimplemented")
}
func (rs *Rackspace) DeleteVolume(volumeName string) error {