diff --git a/lib/fog/ecloud/models/compute/server.rb b/lib/fog/ecloud/models/compute/server.rb index 6ce6865..1369848 100644 --- a/lib/fog/ecloud/models/compute/server.rb +++ b/lib/fog/ecloud/models/compute/server.rb @@ -243,7 +243,7 @@ def delete_ip(options) } end#.delete_if { |ip| ip[:href] == options[:href] && ip[:name] == options[:network_name] } end - slice_ips.map! { |i| {:name => i.address.name, :network_name => i.network.name, :network_name => i.network.name } }.delete_if { |ip| ip[:name] == options[:ip] } + slice_ips.map! { |i| {:name => i.address.name, :network_name => i.network.name } }.delete_if { |ip| ip[:name] == options[:ip] } slice_ips.each do |ip| slice_networks.each do |network| if network[:name] == ip[:network_name]