mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Fix create_rule to return response instead of boolean.
This commit is contained in:
parent
35e5cb5688
commit
462116781e
1 changed files with 0 additions and 1 deletions
|
@ -31,7 +31,6 @@ module Fog
|
|||
def create_rule(range, ip_protocol = "tcp", cidr = "0.0.0.0/0", group_id=nil)
|
||||
requires :id
|
||||
connection.create_security_group_rule(id, ip_protocol, range.min, range.max, cidr, group_id)
|
||||
true
|
||||
end
|
||||
|
||||
def delete_rule(rule_id)
|
||||
|
|
Loading…
Add table
Reference in a new issue