mirror of https://github.com/k3s-io/k3s
fix format
parent
2fb9fc4647
commit
5aad93abf5
|
@ -77,11 +77,11 @@ type VolumeCreateOpts struct {
|
|||
func (volumes *VolumesV1) createVolume(opts VolumeCreateOpts) (string, error) {
|
||||
|
||||
create_opts := volumes_v1.CreateOpts{
|
||||
Name: opts.Name,
|
||||
Size: opts.Size,
|
||||
VolumeType: opts.VolumeType,
|
||||
Name: opts.Name,
|
||||
Size: opts.Size,
|
||||
VolumeType: opts.VolumeType,
|
||||
AvailabilityZone: opts.Availability,
|
||||
Metadata: opts.Metadata,
|
||||
Metadata: opts.Metadata,
|
||||
}
|
||||
|
||||
vol, err := volumes_v1.Create(volumes.blockstorage, create_opts).Extract()
|
||||
|
|
Loading…
Reference in New Issue