1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[clodo|compute] Fix move_ip_address behaviour.

This commit is contained in:
Stepan G. Fedorov 2011-11-28 19:55:03 +04:00
parent 4b9c157dbd
commit 9a578d4303

View file

@ -14,9 +14,10 @@ module Fog
def move_ip_address(server_id, ip)
request(
:expects => [200, 203],
:expects => [204],
:method => 'GET',
:path => "servers/#{server_id}/ips/moveip/#{ip}"
:path => "servers/#{server_id}/ips/moveip",
:body => MultiJson.encode({'ip'=>"#{ip}"})
)
end
end