diff --git a/internal/dataprovider/providers/k8s/mock_client_getter_api.go b/internal/dataprovider/providers/k8s/mock_client_getter_api.go index 10ccd25991..6990d2ee1a 100644 --- a/internal/dataprovider/providers/k8s/mock_client_getter_api.go +++ b/internal/dataprovider/providers/k8s/mock_client_getter_api.go @@ -20,8 +20,8 @@ package k8s import ( + clog "github.com/elastic/cloudbeat/internal/resources/utils/clog" kubernetes "github.com/elastic/elastic-agent-autodiscover/kubernetes" - "github.com/elastic/cloudbeat/internal/resources/utils/clog" client_gokubernetes "k8s.io/client-go/kubernetes" mock "github.com/stretchr/testify/mock" diff --git a/internal/flavors/benchmark/mock_strategy.go b/internal/flavors/benchmark/mock_strategy.go index ebb0fa90df..5b068489db 100644 --- a/internal/flavors/benchmark/mock_strategy.go +++ b/internal/flavors/benchmark/mock_strategy.go @@ -20,12 +20,12 @@ package benchmark import ( - config "github.com/elastic/cloudbeat/internal/config" builder "github.com/elastic/cloudbeat/internal/flavors/benchmark/builder" + clog "github.com/elastic/cloudbeat/internal/resources/utils/clog" - context "context" + config "github.com/elastic/cloudbeat/internal/config" - "github.com/elastic/cloudbeat/internal/resources/utils/clog" + context "context" mock "github.com/stretchr/testify/mock" ) diff --git a/internal/resources/fetching/preset/mock_aws_factory.go b/internal/resources/fetching/preset/mock_aws_factory.go index e4ffce9adc..53972544fa 100644 --- a/internal/resources/fetching/preset/mock_aws_factory.go +++ b/internal/resources/fetching/preset/mock_aws_factory.go @@ -20,14 +20,13 @@ package preset import ( - context "context" - aws "github.com/aws/aws-sdk-go-v2/aws" cloud "github.com/elastic/cloudbeat/internal/dataprovider/providers/cloud" + clog "github.com/elastic/cloudbeat/internal/resources/utils/clog" - fetching "github.com/elastic/cloudbeat/internal/resources/fetching" + context "context" - "github.com/elastic/cloudbeat/internal/resources/utils/clog" + fetching "github.com/elastic/cloudbeat/internal/resources/fetching" mock "github.com/stretchr/testify/mock" diff --git a/internal/resources/providers/awslib/mock_account_provider_api.go b/internal/resources/providers/awslib/mock_account_provider_api.go index e0de538bba..385c275e94 100644 --- a/internal/resources/providers/awslib/mock_account_provider_api.go +++ b/internal/resources/providers/awslib/mock_account_provider_api.go @@ -20,12 +20,11 @@ package awslib import ( - context "context" - aws "github.com/aws/aws-sdk-go-v2/aws" cloud "github.com/elastic/cloudbeat/internal/dataprovider/providers/cloud" + clog "github.com/elastic/cloudbeat/internal/resources/utils/clog" - "github.com/elastic/cloudbeat/internal/resources/utils/clog" + context "context" mock "github.com/stretchr/testify/mock" ) diff --git a/internal/resources/providers/awslib/mock_cross_region_factory.go b/internal/resources/providers/awslib/mock_cross_region_factory.go index 9fa50d9ae3..bfeeb08ce7 100644 --- a/internal/resources/providers/awslib/mock_cross_region_factory.go +++ b/internal/resources/providers/awslib/mock_cross_region_factory.go @@ -23,8 +23,7 @@ import ( context "context" aws "github.com/aws/aws-sdk-go-v2/aws" - - "github.com/elastic/cloudbeat/internal/resources/utils/clog" + clog "github.com/elastic/cloudbeat/internal/resources/utils/clog" mock "github.com/stretchr/testify/mock" ) diff --git a/internal/resources/providers/azurelib/mock_provider_initializer_api.go b/internal/resources/providers/azurelib/mock_provider_initializer_api.go index cb1797ad54..5b4768c2d7 100644 --- a/internal/resources/providers/azurelib/mock_provider_initializer_api.go +++ b/internal/resources/providers/azurelib/mock_provider_initializer_api.go @@ -21,7 +21,7 @@ package azurelib import ( auth "github.com/elastic/cloudbeat/internal/resources/providers/azurelib/auth" - "github.com/elastic/cloudbeat/internal/resources/utils/clog" + clog "github.com/elastic/cloudbeat/internal/resources/utils/clog" mock "github.com/stretchr/testify/mock" ) diff --git a/internal/resources/providers/gcplib/auth/mock_config_provider_api.go b/internal/resources/providers/gcplib/auth/mock_config_provider_api.go index 23a2b1c264..b34b52cc0a 100644 --- a/internal/resources/providers/gcplib/auth/mock_config_provider_api.go +++ b/internal/resources/providers/gcplib/auth/mock_config_provider_api.go @@ -20,11 +20,10 @@ package auth import ( - context "context" - config "github.com/elastic/cloudbeat/internal/config" + clog "github.com/elastic/cloudbeat/internal/resources/utils/clog" - "github.com/elastic/cloudbeat/internal/resources/utils/clog" + context "context" mock "github.com/stretchr/testify/mock" ) diff --git a/internal/resources/providers/gcplib/inventory/mock_provider_initializer_api.go b/internal/resources/providers/gcplib/inventory/mock_provider_initializer_api.go index ba47cfd96d..963df64eb9 100644 --- a/internal/resources/providers/gcplib/inventory/mock_provider_initializer_api.go +++ b/internal/resources/providers/gcplib/inventory/mock_provider_initializer_api.go @@ -20,11 +20,10 @@ package inventory import ( - context "context" - auth "github.com/elastic/cloudbeat/internal/resources/providers/gcplib/auth" + clog "github.com/elastic/cloudbeat/internal/resources/utils/clog" - "github.com/elastic/cloudbeat/internal/resources/utils/clog" + context "context" mock "github.com/stretchr/testify/mock" )