From cdd23167d6347010a643ec8ac9fc42aae460a078 Mon Sep 17 00:00:00 2001 From: Daniel Rammer Date: Thu, 9 Mar 2023 08:51:38 -0600 Subject: [PATCH] fixed lint issues Signed-off-by: Daniel Rammer --- telemetryutils/config.go | 2 +- telemetryutils/factory.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/telemetryutils/config.go b/telemetryutils/config.go index bf617ab..5c1d1f2 100644 --- a/telemetryutils/config.go +++ b/telemetryutils/config.go @@ -28,7 +28,7 @@ var ( ) type Config struct { - FileConfig FileConfig `json:"file" pflag:",Configuration for exporting telemetry traces to a file"` + FileConfig FileConfig `json:"file" pflag:",Configuration for exporting telemetry traces to a file"` JaegerConfig JaegerConfig `json:"jaeger" pflag:",Configuration for exporting telemetry traces to a jaeger"` } diff --git a/telemetryutils/factory.go b/telemetryutils/factory.go index 1fc731f..a6ba0cc 100644 --- a/telemetryutils/factory.go +++ b/telemetryutils/factory.go @@ -5,12 +5,12 @@ import ( "github.com/flyteorg/flytestdlib/version" - "go.opentelemetry.io/otel/exporters/stdout/stdouttrace" "go.opentelemetry.io/otel/exporters/jaeger" + "go.opentelemetry.io/otel/exporters/stdout/stdouttrace" "go.opentelemetry.io/otel/sdk/resource" "go.opentelemetry.io/otel/sdk/trace" - rawtrace "go.opentelemetry.io/otel/trace" semconv "go.opentelemetry.io/otel/semconv/v1.12.0" + rawtrace "go.opentelemetry.io/otel/trace" ) const (