lib/fog/openstack/requests/compute/create_volume.rb in fog-1.22.1 vs lib/fog/openstack/requests/compute/create_volume.rb in fog-1.23.0
- old
+ new
@@ -9,10 +9,10 @@
'display_description' => description,
'size' => size
}
}
- vanilla_options = ['snapshot_id']
+ vanilla_options = ['snapshot_id', 'availability_zone']
vanilla_options.select{|o| options[o]}.each do |key|
data['volume'][key] = options[key]
end
request(
:body => Fog::JSON.encode(data),