lib/fog/openstack/requests/compute/create_volume.rb in fog-1.11.1 vs lib/fog/openstack/requests/compute/create_volume.rb in fog-1.12.0

- 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 => Fog::JSON.encode(data), + :body => MultiJson.encode(data), :expects => [200, 202], :method => 'POST', :path => "os-volumes" ) end