diff --git a/extension/leaderelector/factory.go b/extension/leaderelector/factory.go index 49a7662731fb..12a3f429e7fb 100644 --- a/extension/leaderelector/factory.go +++ b/extension/leaderelector/factory.go @@ -6,10 +6,11 @@ package leaderelector import ( "context" "errors" - "github.com/open-telemetry/opentelemetry-collector-contrib/extension/leaderelector/internal/metadata" "os" "time" + "github.com/open-telemetry/opentelemetry-collector-contrib/extension/leaderelector/internal/metadata" + "go.opentelemetry.io/collector/component" "go.opentelemetry.io/collector/extension" diff --git a/extension/leaderelector/generated_package_test.go b/extension/leaderelector/generated_package_test.go index 3a225469b654..816f30ff1fdb 100644 --- a/extension/leaderelector/generated_package_test.go +++ b/extension/leaderelector/generated_package_test.go @@ -3,8 +3,9 @@ package leaderelector import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) {