Skip to content

Commit

Permalink
Refs #6567 don't special case cidr_ip for eucalyptus.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakedouglas committed Jun 2, 2010
1 parent 039ed8c commit 36f2e61
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/ec2/right_ec2_security_groups.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,7 @@ def describe_security_groups(list=[])
# IP permissions
Array(permission[:ip_ranges]).each do |ip_range|
perm = result_perm.dup
# Mhhh... For Eucalyptus we somehow get used to use ":cidr_ip" instead of ":cidr_ips"...
if @params[:eucalyptus] then perm[:cidr_ip] = ip_range
else perm[:cidr_ips] = ip_range
end
perm[:cidr_ips] = ip_range
aws_perms << perm
end
# Group permissions
Expand Down

0 comments on commit 36f2e61

Please sign in to comment.