lib/fog/openstack/requests/compute/attach_volume.rb in fog-1.11.1 vs lib/fog/openstack/requests/compute/attach_volume.rb in fog-1.12.0
- old
+ new
@@ -9,10 +9,10 @@
'volumeId' => volume_id.to_s,
'device' => device
}
}
request(
- :body => Fog::JSON.encode(data),
+ :body => MultiJson.encode(data),
:expects => [200, 202],
:method => 'POST',
:path => "servers/%s/os-volume_attachments" % [server_id]
)
end