Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

Commit

Permalink
(FACT-2499) Remove filtering for nill class because only core and leg…
Browse files Browse the repository at this point in the history
…acy facts get to this point, and they must have a class.
  • Loading branch information
Bogdan Irimie committed Apr 3, 2020
1 parent 7cbd4f3 commit dde7225
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/framework/core/fact/internal/internal_fact_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def start_threads(searched_facts)

# only resolve a fact once, even if multiple search facts depend on that fact
searched_facts
.reject { |elem| elem.fact_class.nil? }
.uniq { |searched_fact| searched_fact.fact_class.name }
.each do |searched_fact|
threads << Thread.new do
Expand Down

0 comments on commit dde7225

Please sign in to comment.