mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
remove unnecessary re register when doing deep clone for codecs
Fixes #4533
This commit is contained in:
parent
08cf73e3f9
commit
e17d861269
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ module LogStash::Util
|
||||||
when Fixnum, Symbol, IO, TrueClass, FalseClass, NilClass
|
when Fixnum, Symbol, IO, TrueClass, FalseClass, NilClass
|
||||||
o
|
o
|
||||||
when LogStash::Codecs::Base
|
when LogStash::Codecs::Base
|
||||||
o.clone.tap {|c| c.register }
|
o.clone
|
||||||
when String
|
when String
|
||||||
o.clone #need to keep internal state e.g. frozen
|
o.clone #need to keep internal state e.g. frozen
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue