Skip to content

Commit d5c8068

Browse files
committed
Revert "Correct Naming/AccessorMethodName"
This reverts commit bc6478a. The API is `sensitive_parameters`, we can't just change the name of this method in this type because rubocop complains.
1 parent d718bcf commit d5c8068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/type/concat_fragment.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
raise Puppet::ParseError, _("Can't use 'source' and 'content' at the same time") if !self[:source].nil? && !self[:content].nil?
9696
end
9797

98-
def sensitive_parameters=(sensitive_parameters)
98+
def set_sensitive_parameters(sensitive_parameters) # rubocop:disable Naming/AccessorMethodName
9999
# Respect sensitive https://tickets.puppetlabs.com/browse/PUP-10950
100100
if sensitive_parameters.include?(:content)
101101
sensitive_parameters.delete(:content)

0 commit comments

Comments
 (0)