From 91d48717b475cf5ecab9084b1d49e5d063589074 Mon Sep 17 00:00:00 2001 From: Pier-Hugues Pellerin Date: Fri, 25 Jan 2019 20:23:31 -0500 Subject: [PATCH] Add `mage fields` to x-pack/libbeat The `fields` was missing for the x-pack/libbeat build target. --- x-pack/libbeat/magefile.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/x-pack/libbeat/magefile.go b/x-pack/libbeat/magefile.go index e2c438e8971d..3e46ce6b39ea 100644 --- a/x-pack/libbeat/magefile.go +++ b/x-pack/libbeat/magefile.go @@ -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.