mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
- clone the message string; otherwise the test suite for the kv filter
fires this warning: "RuntimeError: string modified"
This commit is contained in:
parent
8416d81a6c
commit
d9be423f75
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class LogStash::Inputs::Generator < LogStash::Inputs::Threadable
|
|||
queue << event
|
||||
end
|
||||
else
|
||||
event = to_event(@message, source)
|
||||
event = to_event(@message.clone, source)
|
||||
event["sequence"] = number
|
||||
queue << event
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue