From 2815c348f6d984d7ede870979771faabab3e2166 Mon Sep 17 00:00:00 2001 From: Zhihong Lin Date: Mon, 23 Dec 2024 14:27:31 -0500 Subject: [PATCH] Fix linter errors --- plugins/processors/awsentity/processor.go | 2 +- translator/translate/otel/pipeline/emf_logs/translator.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/processors/awsentity/processor.go b/plugins/processors/awsentity/processor.go index 0e0ca2fd54..b39f4ec8c1 100644 --- a/plugins/processors/awsentity/processor.go +++ b/plugins/processors/awsentity/processor.go @@ -5,11 +5,11 @@ package awsentity import ( "context" - "go.opentelemetry.io/collector/pdata/plog" "strings" "github.com/go-playground/validator/v10" "go.opentelemetry.io/collector/pdata/pcommon" + "go.opentelemetry.io/collector/pdata/plog" "go.opentelemetry.io/collector/pdata/pmetric" semconv "go.opentelemetry.io/collector/semconv/v1.22.0" "go.uber.org/zap" diff --git a/translator/translate/otel/pipeline/emf_logs/translator.go b/translator/translate/otel/pipeline/emf_logs/translator.go index 0c58e419c6..aaecb49e7f 100644 --- a/translator/translate/otel/pipeline/emf_logs/translator.go +++ b/translator/translate/otel/pipeline/emf_logs/translator.go @@ -4,7 +4,6 @@ package emf_logs import ( - "github.com/aws/amazon-cloudwatch-agent/translator/translate/otel/processor/awsentity" "strings" "go.opentelemetry.io/collector/component" @@ -13,6 +12,7 @@ import ( "github.com/aws/amazon-cloudwatch-agent/translator/translate/otel/common" "github.com/aws/amazon-cloudwatch-agent/translator/translate/otel/exporter/awscloudwatchlogs" "github.com/aws/amazon-cloudwatch-agent/translator/translate/otel/extension/agenthealth" + "github.com/aws/amazon-cloudwatch-agent/translator/translate/otel/processor/awsentity" "github.com/aws/amazon-cloudwatch-agent/translator/translate/otel/processor/batchprocessor" "github.com/aws/amazon-cloudwatch-agent/translator/translate/otel/receiver/tcplog" "github.com/aws/amazon-cloudwatch-agent/translator/translate/otel/receiver/udplog"