From 16145d23ffe19c9b0644ee9411dae19a12d0ec54 Mon Sep 17 00:00:00 2001 From: Felix Barnsteiner Date: Sat, 11 Jan 2025 09:35:19 +0100 Subject: [PATCH] Fix imports --- exporter/elasticsearchexporter/exporter.go | 3 ++- exporter/elasticsearchexporter/pdata_serializer_test.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/exporter/elasticsearchexporter/exporter.go b/exporter/elasticsearchexporter/exporter.go index 173cd9ff2d33..99fc5674cdd2 100644 --- a/exporter/elasticsearchexporter/exporter.go +++ b/exporter/elasticsearchexporter/exporter.go @@ -7,7 +7,6 @@ import ( "context" "errors" "fmt" - "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticsearchexporter/internal/pool" "runtime" "sync" "time" @@ -19,6 +18,8 @@ import ( "go.opentelemetry.io/collector/pdata/pmetric" "go.opentelemetry.io/collector/pdata/ptrace" "go.uber.org/zap" + + "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticsearchexporter/internal/pool" ) type elasticsearchExporter struct { diff --git a/exporter/elasticsearchexporter/pdata_serializer_test.go b/exporter/elasticsearchexporter/pdata_serializer_test.go index 6698a04dce23..1cf4687db67e 100644 --- a/exporter/elasticsearchexporter/pdata_serializer_test.go +++ b/exporter/elasticsearchexporter/pdata_serializer_test.go @@ -6,10 +6,10 @@ package elasticsearchexporter import ( "bytes" "encoding/json" - "github.com/stretchr/testify/require" "testing" "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" "go.opentelemetry.io/collector/pdata/pcommon" "go.opentelemetry.io/collector/pdata/plog" )