mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
remove the unneeded require "logstash/util" call, has great expectations that cannot be met if required too early.
fixes #8096 Fixes #8097
This commit is contained in:
parent
7f633af69f
commit
2819f361b7
1 changed files with 2 additions and 4 deletions
|
@ -1,10 +1,9 @@
|
|||
# encoding: utf-8
|
||||
require "logstash/namespace"
|
||||
require "logstash/util"
|
||||
|
||||
# This class exists to quietly wrap a password string so that, when printed or
|
||||
# logged, you don't accidentally print the password itself.
|
||||
class LogStash::Util::Password
|
||||
module LogStash module Util class Password
|
||||
attr_reader :value
|
||||
|
||||
public
|
||||
|
@ -21,5 +20,4 @@ class LogStash::Util::Password
|
|||
def inspect
|
||||
return to_s
|
||||
end # def inspect
|
||||
end # class LogStash::Util::Password
|
||||
|
||||
end end end # class LogStash::Util::Password
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue