You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(PUP-12083) Update soft limit warning for fact value & name length
This commit updates the soft limit warning for fact value length to include
the fact name and updates the soft limit warning for fact name length to
include the length that was used to evaluate if the length exceeds the limit.
Puppet.warning_("The current number of top level facts: %{size} exceeds the top facts limit: %{max_size}") % {size: size,max_size: max_number}
144
144
end
145
145
146
-
defwarn_fact_value_length(value,max_length)
147
-
Puppet.warning_("Fact value '%{value}' with the value length: '%{length}' exceeds the value length limit: %{max_length}") % {value: value,length: value.to_s.bytesize,max_length: max_length}
146
+
defwarn_fact_value_length(name,value,max_length)
147
+
Puppet.warning_("Fact '%{name}' with value '%{value}' with the value length: '%{length}' exceeds the value length limit: %{max_length}") % {name: name,value: value,length: value.to_s.bytesize,max_length: max_length}
0 commit comments