Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Remove duplicate network_name hash key #1

Merged
merged 1 commit into from Dec 26, 2014
Merged

Remove duplicate network_name hash key #1

merged 1 commit into from Dec 26, 2014

Conversation

ghost
Copy link

@ghost ghost commented Dec 26, 2014

No description provided.

@@ -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] }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [137/80]
Use the new Ruby 1.9 hash syntax.
Space inside { missing.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 73fda72 on starbelly:patch-1 into f9f935d on fog:master.

plribeiro3000 added a commit that referenced this pull request Dec 26, 2014
Remove duplicate network_name hash key
@plribeiro3000 plribeiro3000 merged commit f932e61 into fog:master Dec 26, 2014
@plribeiro3000
Copy link
Member

Tnx @starbelly!

@ghost ghost deleted the patch-1 branch December 27, 2014 03:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants