fix format

This commit is contained in:
Jesse Haka 2017-04-08 11:08:08 +03:00
parent 2fb9fc4647
commit 5aad93abf5

View File

@ -77,11 +77,11 @@ type VolumeCreateOpts struct {
func (volumes *VolumesV1) createVolume(opts VolumeCreateOpts) (string, error) { func (volumes *VolumesV1) createVolume(opts VolumeCreateOpts) (string, error) {
create_opts := volumes_v1.CreateOpts{ create_opts := volumes_v1.CreateOpts{
Name: opts.Name, Name: opts.Name,
Size: opts.Size, Size: opts.Size,
VolumeType: opts.VolumeType, VolumeType: opts.VolumeType,
AvailabilityZone: opts.Availability, AvailabilityZone: opts.Availability,
Metadata: opts.Metadata, Metadata: opts.Metadata,
} }
vol, err := volumes_v1.Create(volumes.blockstorage, create_opts).Extract() vol, err := volumes_v1.Create(volumes.blockstorage, create_opts).Extract()