fix format

Change-Id: I44784cb6f8344db3404933a6bc821ac4cef01189
This commit is contained in:
Jesse Haka 2017-04-08 11:08:08 +03:00 committed by Davanum Srinivas
parent be66cb2c54
commit a2c3c8b90f
1 changed files with 4 additions and 4 deletions

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