Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[clodo|compute] Rename moveip to move_ip_address.

  • Loading branch information...
commit 2f62f912a1fa3e0b92527399f15782428e844805 1 parent bbc5a1f
@sfcr sfcr authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/fog/clodo/requests/compute/move_ip_address.rb
View
6 lib/fog/clodo/requests/compute/move_ip_address.rb
@@ -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',
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.