Skip to content

Commit

Permalink
[clodo|compute] Rename moveip to move_ip_address.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfcr committed Nov 27, 2011
1 parent bbc5a1f commit 2f62f91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/fog/clodo/requests/compute/move_ip_address.rb
Expand Up @@ -12,7 +12,7 @@ class Real
# * response<~Excon::Response>
#

def move_ip(server_id, ip)
def move_ip_address(server_id, ip)
request(
:expects => [200, 203],
:method => 'GET',
Expand All @@ -22,9 +22,9 @@ def move_ip(server_id, ip)
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
Expand Down

0 comments on commit 2f62f91

Please sign in to comment.