diff --git a/Makefile b/Makefile index a082e8f1f65..1f0caac5471 100644 --- a/Makefile +++ b/Makefile @@ -93,9 +93,9 @@ lint: .PHONY: goimports goimports: - @IMPORTSOUT=`$(GOIMPORTS) -l . 2>&1`; \ + @IMPORTSOUT=`$(GOIMPORTS) -d . 2>&1`; \ if [ "$$IMPORTSOUT" ]; then \ - echo "$(GOIMPORTS) FAILED => fix the import order in the following files:\n"; \ + echo "$(GOIMPORTS) FAILED => fix the following goimports errors:\n"; \ echo "$$IMPORTSOUT\n"; \ exit 1; \ else \ diff --git a/exporter/zipkinexporter/zipkin.go b/exporter/zipkinexporter/zipkin.go index 0e6124c2d33..eb3ff1d3fde 100644 --- a/exporter/zipkinexporter/zipkin.go +++ b/exporter/zipkinexporter/zipkin.go @@ -33,7 +33,7 @@ import ( "github.com/open-telemetry/opentelemetry-service/consumer/consumerdata" "github.com/open-telemetry/opentelemetry-service/consumer/consumererror" "github.com/open-telemetry/opentelemetry-service/observability" - "github.com/open-telemetry/opentelemetry-service/translator/trace" + tracetranslator "github.com/open-telemetry/opentelemetry-service/translator/trace" spandatatranslator "github.com/open-telemetry/opentelemetry-service/translator/trace/spandata" )