mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[clodo|compute] Rename moveip to move_ip_address.
This commit is contained in:
parent
790454bf54
commit
299e1f7960
1 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@ module Fog
|
|||
# * response<~Excon::Response>
|
||||
#
|
||||
|
||||
def move_ip(server_id, ip)
|
||||
def move_ip_address(server_id, ip)
|
||||
request(
|
||||
:expects => [200, 203],
|
||||
:method => 'GET',
|
||||
|
@ -22,9 +22,9 @@ module Fog
|
|||
end
|
||||
|
||||
class Mock
|
||||
def move_ip(server_id, ip)
|
||||
def move_ip_address(server_id, ip)
|
||||
response = Excon::Response.new
|
||||
response.status = [200, 203][rand(1)]
|
||||
response.status = [204]
|
||||
response
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue