mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
parent
e2e3f3998b
commit
63276c400d
2 changed files with 3 additions and 3 deletions
|
@ -34,7 +34,7 @@ module Fog
|
|||
@ip_range[name] = value
|
||||
when 'fromPort', 'toPort'
|
||||
if @in_ip_permissions_egress
|
||||
@ip_permission_egress[name] = value.to_i
|
||||
@ip_permission_egress[name] = value.to_i
|
||||
else
|
||||
@ip_permission[name] = value.to_i
|
||||
end
|
||||
|
@ -63,7 +63,7 @@ module Fog
|
|||
when 'item'
|
||||
if @in_groups
|
||||
if @in_ip_permissions_egress
|
||||
@ip_permission_egress['group'] << @group
|
||||
@ip_permission_egress['groups'] << @group
|
||||
else
|
||||
@ip_permission['groups'] << @group
|
||||
end
|
||||
|
|
|
@ -18,7 +18,7 @@ module Fog
|
|||
end
|
||||
|
||||
response = @excon.request(params, &block)
|
||||
|
||||
|
||||
if parser
|
||||
body.finish
|
||||
response.body = parser.response
|
||||
|
|
Loading…
Add table
Reference in a new issue