From 327b14d7f590a40a1805884bb2ea179fc5ad39c1 Mon Sep 17 00:00:00 2001 From: Marcin Tojek Date: Mon, 10 Feb 2020 09:47:17 +0100 Subject: [PATCH] Fix: imports order (#16207) --- .../autodiscover/providers/aws/ec2/provider_test.go | 9 +++++---- .../autodiscover/providers/aws/elb/provider_test.go | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/x-pack/libbeat/autodiscover/providers/aws/ec2/provider_test.go b/x-pack/libbeat/autodiscover/providers/aws/ec2/provider_test.go index b9c3acc1748..f8216294006 100644 --- a/x-pack/libbeat/autodiscover/providers/aws/ec2/provider_test.go +++ b/x-pack/libbeat/autodiscover/providers/aws/ec2/provider_test.go @@ -8,15 +8,16 @@ import ( "testing" "time" + "github.com/gofrs/uuid" + "github.com/pkg/errors" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "github.com/elastic/beats/libbeat/common" "github.com/elastic/beats/libbeat/common/bus" "github.com/elastic/beats/libbeat/logp" awsauto "github.com/elastic/beats/x-pack/libbeat/autodiscover/providers/aws" "github.com/elastic/beats/x-pack/libbeat/autodiscover/providers/aws/test" - "github.com/gofrs/uuid" - "github.com/pkg/errors" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" ) func Test_internalBuilder(t *testing.T) { diff --git a/x-pack/libbeat/autodiscover/providers/aws/elb/provider_test.go b/x-pack/libbeat/autodiscover/providers/aws/elb/provider_test.go index 3447d595330..0f7bd0f66c6 100644 --- a/x-pack/libbeat/autodiscover/providers/aws/elb/provider_test.go +++ b/x-pack/libbeat/autodiscover/providers/aws/elb/provider_test.go @@ -9,14 +9,15 @@ import ( "testing" "time" - "github.com/elastic/beats/libbeat/common" - "github.com/elastic/beats/libbeat/common/bus" - "github.com/elastic/beats/libbeat/logp" - awsauto "github.com/elastic/beats/x-pack/libbeat/autodiscover/providers/aws" "github.com/gofrs/uuid" "github.com/pkg/errors" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + + "github.com/elastic/beats/libbeat/common" + "github.com/elastic/beats/libbeat/common/bus" + "github.com/elastic/beats/libbeat/logp" + awsauto "github.com/elastic/beats/x-pack/libbeat/autodiscover/providers/aws" ) type testEventAccumulator struct {