Skip to content

Commit

Permalink
Add mage fields to x-pack/libbeat (elastic#10346)
Browse files Browse the repository at this point in the history
The `fields` was missing for the x-pack/libbeat build target.
  • Loading branch information
ph authored and ycombinator committed Jan 26, 2019
1 parent c1e2263 commit 3f49f61
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions x-pack/libbeat/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ func Clean() error {
return mage.Clean()
}

// Fields generates a fields.yml for the Beat.
func Fields() error {
return mage.GenerateFieldsYAML()
}

// GoTestUnit executes the Go unit tests.
// Use TEST_COVERAGE=true to enable code coverage profiling.
// Use RACE_DETECTOR=true to enable the race detector.
Expand Down

0 comments on commit 3f49f61

Please sign in to comment.