[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
1 changed files with 3 additions and 2 deletions

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