Skip to content

Commit

Permalink
Fix nodes accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
cjmartian committed Jan 22, 2024
1 parent b545c53 commit a637695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/octofacts/backends/index.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def select(conditions)
add_fact_to_index(key) unless indexed_fact?(key)
matching_nodes = index[key][value.to_s]
raise Octofacts::Errors::NoFactsError if matching_nodes.nil?
self.nodes = nodes & matching_nodes
@nodes = nodes & matching_nodes
end

self
Expand Down

0 comments on commit a637695

Please sign in to comment.