Skip to content

Commit

Permalink
Merge pull request #9150 from mhashizume/PUP-11685/7.x/fact-count
Browse files Browse the repository at this point in the history
(PUP-11685) Update total fact count
  • Loading branch information
cthorn42 committed Nov 15, 2023
2 parents eed2bd8 + 641b0cc commit f33de24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/configurer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ def parse_fact_name_and_value_limits(object, path = [])
path.push(key)
parse_fact_name_and_value_limits(value, path)
path.pop
@number_of_facts += 1
end
when Array
object.each_with_index do |e, idx|
Expand All @@ -205,6 +204,7 @@ def parse_fact_name_and_value_limits(object, path = [])
else
check_fact_name_length(path.join(), path.size)
check_fact_values_length(object)
@number_of_facts += 1
end
end

Expand Down

0 comments on commit f33de24

Please sign in to comment.