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:
parent
4b9c157dbd
commit
9a578d4303
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue