From 0fc60159fb48bacbf91360f8bada35be208086b4 Mon Sep 17 00:00:00 2001 From: James Ryans Date: Wed, 10 Jan 2024 23:35:10 +0700 Subject: [PATCH] Fix newly added file goimports linting Signed-off-by: James Ryans --- cmd/jaeger/integration/datareceivers/jaegerstorage.go | 3 ++- cmd/jaeger/integration/kafka_test.go | 5 +++-- .../internal/receivers/storagereceiver/receiver.go | 9 +++++---- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/cmd/jaeger/integration/datareceivers/jaegerstorage.go b/cmd/jaeger/integration/datareceivers/jaegerstorage.go index 9ead96c7d07..8e4b6a31bd6 100644 --- a/cmd/jaeger/integration/datareceivers/jaegerstorage.go +++ b/cmd/jaeger/integration/datareceivers/jaegerstorage.go @@ -8,12 +8,13 @@ import ( "fmt" "time" - "github.com/jaegertracing/jaeger/cmd/jaeger/internal/receivers/storagereceiver" "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/testbed" "go.opentelemetry.io/collector/component/componenttest" "go.opentelemetry.io/collector/consumer" "go.opentelemetry.io/collector/receiver" "go.opentelemetry.io/collector/receiver/receivertest" + + "github.com/jaegertracing/jaeger/cmd/jaeger/internal/receivers/storagereceiver" ) type jaegerStorageDataReceiver struct { diff --git a/cmd/jaeger/integration/kafka_test.go b/cmd/jaeger/integration/kafka_test.go index be937861e09..62d73c4b89d 100644 --- a/cmd/jaeger/integration/kafka_test.go +++ b/cmd/jaeger/integration/kafka_test.go @@ -8,10 +8,11 @@ import ( "testing" "time" - "github.com/jaegertracing/jaeger/cmd/jaeger/integration/datareceivers" - "github.com/jaegertracing/jaeger/cmd/jaeger/internal" "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/testbed" "github.com/stretchr/testify/require" + + "github.com/jaegertracing/jaeger/cmd/jaeger/integration/datareceivers" + "github.com/jaegertracing/jaeger/cmd/jaeger/internal" ) var correctnessResults testbed.TestResultsSummary = &testbed.CorrectnessResults{} diff --git a/cmd/jaeger/internal/receivers/storagereceiver/receiver.go b/cmd/jaeger/internal/receivers/storagereceiver/receiver.go index 96512b7d2e5..83ec7d0fff6 100644 --- a/cmd/jaeger/internal/receivers/storagereceiver/receiver.go +++ b/cmd/jaeger/internal/receivers/storagereceiver/receiver.go @@ -7,14 +7,15 @@ import ( "context" "fmt" - "github.com/jaegertracing/jaeger/model" - "github.com/jaegertracing/jaeger/pkg/metrics" - "github.com/jaegertracing/jaeger/plugin/storage/grpc" - "github.com/jaegertracing/jaeger/storage/spanstore" jaeger2otlp "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger" "go.opentelemetry.io/collector/component" "go.opentelemetry.io/collector/consumer" "go.uber.org/zap" + + "github.com/jaegertracing/jaeger/model" + "github.com/jaegertracing/jaeger/pkg/metrics" + "github.com/jaegertracing/jaeger/plugin/storage/grpc" + "github.com/jaegertracing/jaeger/storage/spanstore" ) type storageReceiver struct {