Skip to content

Commit

Permalink
Fix metricbeat test build
Browse files Browse the repository at this point in the history
  • Loading branch information
urso committed Jun 27, 2018
1 parent 6a2cac2 commit e318c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metricbeat/mb/module/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func ExampleRunner() {
}

func encodeEvent(event beat.Event) (string, error) {
output, err := json.New(false, "1.2.3").Encode("noindex", &event)
output, err := json.New(false, true, "1.2.3").Encode("noindex", &event)
if err != nil {
return "", nil
}
Expand Down

0 comments on commit e318c82

Please sign in to comment.