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

Get_Node_Services...expecting an array back so do we need to add the node service to the end of the array and then reset it ? ( '@node_service = {}' )

i.e. needs a when 'NodeService' in the definition of end_element
This commit is contained in:
marios 2010-04-19 18:04:52 +08:00 committed by Wesley Beary
parent 09f7f9fc4f
commit d590ad434c

View file

@ -21,6 +21,9 @@ module Fog
end
when 'Id', 'Port'
@node_service[name] = @value.to_i
when 'NodeService'
@response['NodeServices'] << @node_service
@node_service = {}
end
end