diff --git a/internal/resources/otelcollector/agent.go b/internal/resources/otelcollector/agent.go index 51b8422de..4f9951403 100644 --- a/internal/resources/otelcollector/agent.go +++ b/internal/resources/otelcollector/agent.go @@ -4,12 +4,13 @@ import ( "context" "errors" "fmt" + "maps" + appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" - "maps" "sigs.k8s.io/controller-runtime/pkg/client" "github.com/kyma-project/telemetry-manager/internal/configchecksum" diff --git a/internal/resources/otelcollector/core.go b/internal/resources/otelcollector/core.go index 7a14f13de..638464621 100644 --- a/internal/resources/otelcollector/core.go +++ b/internal/resources/otelcollector/core.go @@ -4,13 +4,14 @@ import ( "context" "errors" "fmt" + "maps" + corev1 "k8s.io/api/core/v1" networkingv1 "k8s.io/api/networking/v1" rbacv1 "k8s.io/api/rbac/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/intstr" - "maps" "sigs.k8s.io/controller-runtime/pkg/client" "github.com/kyma-project/telemetry-manager/internal/k8sutils" diff --git a/internal/testutils/pipeline_opts.go b/internal/testutils/pipeline_opts.go index ee8961743..e4bb68ddd 100644 --- a/internal/testutils/pipeline_opts.go +++ b/internal/testutils/pipeline_opts.go @@ -2,6 +2,7 @@ package testutils import ( "fmt" + telemetryv1alpha1 "github.com/kyma-project/telemetry-manager/apis/telemetry/v1alpha1" ) diff --git a/test/e2e/logs_basic_v1beta1_test.go b/test/e2e/logs_basic_v1beta1_test.go index d4b8819a5..019985d33 100644 --- a/test/e2e/logs_basic_v1beta1_test.go +++ b/test/e2e/logs_basic_v1beta1_test.go @@ -4,6 +4,7 @@ package e2e import ( "fmt" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/test/testkit/mocks/prommetricgen/metric_producer.go b/test/testkit/mocks/prommetricgen/metric_producer.go index 59b4cc6ce..506fda37d 100644 --- a/test/testkit/mocks/prommetricgen/metric_producer.go +++ b/test/testkit/mocks/prommetricgen/metric_producer.go @@ -2,12 +2,13 @@ package prommetricgen import ( "fmt" + "maps" + "go.opentelemetry.io/collector/pdata/pmetric" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/intstr" - "maps" "github.com/kyma-project/telemetry-manager/test/testkit/apiserverproxy" )