1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[compute|aws] fix error in describe_security_groups parser

closes #678
This commit is contained in:
geemus 2012-02-18 10:54:23 -06:00
parent e2e3f3998b
commit 63276c400d
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -18,7 +18,7 @@ module Fog
end
response = @excon.request(params, &block)
if parser
body.finish
response.body = parser.response