1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Fix sentinel password redaction presence check (#4358)

This commit is contained in:
Matthew M. Boedicker 2019-11-03 10:49:34 -08:00 committed by Mike Perham
parent 28df157cce
commit 06cc7fe4ee

View file

@ -105,7 +105,7 @@ module Sidekiq
end
if scrubbed_options[:sentinels]
scrubbed_options[:sentinels].each do |sentinel|
sentinel[:password] = redacted if scrubbed_options[:password]
sentinel[:password] = redacted if sentinel[:password]
end
end
if Sidekiq.server?