mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -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
|
||||
o
|
||||
when LogStash::Codecs::Base
|
||||
o.clone.tap {|c| c.register }
|
||||
o.clone
|
||||
when String
|
||||
o.clone #need to keep internal state e.g. frozen
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue