Skip to content

Commit

Permalink
Merge pull request #328 from agrare/fix_parser_to_return_inventory_parse
Browse files Browse the repository at this point in the history
Fix parse_targeted_inventory to call inv.parse
  • Loading branch information
Fryguy authored Dec 21, 2018
2 parents 4a90346 + b6521d7 commit 63fca48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def parse_targeted_inventory(ems, _target, inventory)
_log.debug "#{log_header} Parsing inventory..."
hashes, = Benchmark.realtime_block(:parse_inventory) do
if ems.use_graph_refresh?
inventory.inventory_collections
inventory.parse
else
Parse::ParserBuilder.new(ems).build.ems_inv_to_hashes(inventory)
end
Expand Down

0 comments on commit 63fca48

Please sign in to comment.