We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97513f7 commit 1a8676dCopy full SHA for 1a8676d
logstash-core/lib/logstash/util/substitution_variables.rb
@@ -51,7 +51,7 @@ def deep_replace(value, refine = false)
51
# If the value does not match the pattern, the 'value' param returns as-is
52
# When setting refine to true, substituted value will be cleaned against escaped single/double quotes
53
# and generates array if resolved substituted value is array string
54
- def replace_placeholders(value, refine)
+ def replace_placeholders(value, refine = false)
55
if value.kind_of?(::LogStash::Util::Password)
56
interpolated = replace_placeholders(value.value, refine)
57
return ::LogStash::Util::Password.new(interpolated)
0 commit comments