lib/fog/clodo/requests/compute/add_ip_address.rb in fog-1.22.0 vs lib/fog/clodo/requests/compute/add_ip_address.rb in fog-1.22.1
- old
+ new
@@ -1,10 +1,9 @@
module Fog
module Compute
class Clodo
class Real
-
# Bye new IP-address for specified server
# ==== Paramaters
# * server_id<~Integer> - Id of server to bye IP for
#
# ==== Returns
@@ -20,10 +19,9 @@
end
end
class Mock
def add_ip_address(server_id)
-
raise Excon::Errors::BadRequest.new(
"Invalid image ID"
) unless server_id > 0
data = {