File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def select(conditions)
45
45
add_fact_to_index ( key ) unless indexed_fact? ( key )
46
46
matching_nodes = index [ key ] [ value . to_s ]
47
47
raise Octofacts ::Errors ::NoFactsError if matching_nodes . nil?
48
- self . nodes = nodes & matching_nodes
48
+ @ nodes = nodes & matching_nodes
49
49
end
50
50
51
51
self
@@ -62,7 +62,7 @@ def reject(conditions)
62
62
end
63
63
end
64
64
65
- self . nodes = matching_nodes
65
+ @ nodes = matching_nodes
66
66
self
67
67
end
68
68
@@ -72,7 +72,7 @@ def prefer(conditions)
72
72
add_fact_to_index ( key ) unless indexed_fact? ( key )
73
73
matching_nodes = index [ key ] [ value . to_s ]
74
74
unless matching_nodes . nil?
75
- self . nodes = ( matching_nodes . to_set + nodes . to_set ) . to_a
75
+ @ nodes = ( matching_nodes . to_set + nodes . to_set ) . to_a
76
76
end
77
77
end
78
78
You can’t perform that action at this time.
0 commit comments