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

Fix issue #2796 (AWS describe_dhcp_options request parsing)

Properly initialize @dhcp_options for each dhcpOptionsSet
This commit is contained in:
Konstantinos Natsakis 2014-03-28 15:14:22 +02:00
parent 0ff2217789
commit 6933af611f

View file

@ -61,8 +61,7 @@ module Fog
@dhcp_options[name] = value
when 'item'
@response['dhcpOptionsSet'] << @dhcp_options
@dhcp_options = { 'tagSet' => {} }
@dhcp_options = { 'dhcpConfigurationSet' => {} }
@dhcp_options = { 'dhcpConfigurationSet' => {}, 'tagSet' => {} }
when 'requestId'
@response[name] = value
end