lib/fog/openstack/requests/compute/create_volume.rb in fog-maestrodev-1.18.0.20131121075022 vs lib/fog/openstack/requests/compute/create_volume.rb in fog-maestrodev-1.18.0.20131122203507
- old
+ new
@@ -15,10 +15,10 @@
vanilla_options = ['snapshot_id']
vanilla_options.select{|o| options[o]}.each do |key|
data['volume'][key] = options[key]
end
request(
- :body => MultiJson.encode(data),
+ :body => Fog::JSON.encode(data),
:expects => [200, 202],
:method => 'POST',
:path => "os-volumes"
)
end