fix format
Change-Id: I44784cb6f8344db3404933a6bc821ac4cef01189
This commit is contained in:
parent
be66cb2c54
commit
a2c3c8b90f
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user