mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
- should merge arrays, not append
This commit is contained in:
parent
85d90ba6c4
commit
0b44e65eaf
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class LogStash::Inputs::Amqp
|
|||
if !event.include?("tags")
|
||||
event["tags"] = @tags
|
||||
else
|
||||
event["tags"] << @tags
|
||||
event["tags"] |= @tags # set union
|
||||
end
|
||||
@callback.call(event)
|
||||
end # def event
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue