From 12fb8492a18fc7f2db238887124618ecab6ae49f Mon Sep 17 00:00:00 2001 From: Andrew Kroh Date: Fri, 12 Jun 2020 11:44:43 -0400 Subject: [PATCH] Fix imports --- auditbeat/cmd/root.go | 3 --- auditbeat/main.go | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/auditbeat/cmd/root.go b/auditbeat/cmd/root.go index d3bd8b059c6..89d0bfd20ca 100644 --- a/auditbeat/cmd/root.go +++ b/auditbeat/cmd/root.go @@ -28,9 +28,6 @@ import ( "github.com/elastic/beats/v7/libbeat/publisher/processing" "github.com/elastic/beats/v7/metricbeat/beater" "github.com/elastic/beats/v7/metricbeat/mb/module" - - // Register includes. - _ "github.com/elastic/beats/v7/auditbeat/include" ) const ( diff --git a/auditbeat/main.go b/auditbeat/main.go index 48b9086acd2..85353ea693e 100644 --- a/auditbeat/main.go +++ b/auditbeat/main.go @@ -21,6 +21,9 @@ import ( "os" "github.com/elastic/beats/v7/auditbeat/cmd" + + // Register includes. + _ "github.com/elastic/beats/v7/auditbeat/include" ) func main() {