Skip to content

Commit

Permalink
fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
kvch committed Aug 30, 2018
1 parent 841e72b commit 1df5455
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions filebeat/reader/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,3 @@ func (m *Message) AddFlagsWithKey(key string, flags ...string) error {

return common.AddTagsWithKey(m.Fields, key, flags)
}

func (msg *Message) AddTagsWithKey(key string, tags []string) error {
if len(tags) == 0 {
return nil
}

if m.Fields == nil {
m.Fields = common.MapStr{}
}

return common.AddTagsWithKey(m.Fields, key, tags)
}

0 comments on commit 1df5455

Please sign in to comment.