diff --git a/flyteadmin/cmd/entrypoints/serve.go b/flyteadmin/cmd/entrypoints/serve.go index b3b575baba..7ef146a1fe 100644 --- a/flyteadmin/cmd/entrypoints/serve.go +++ b/flyteadmin/cmd/entrypoints/serve.go @@ -35,7 +35,7 @@ var serveCmd = &cobra.Command{ // register otel tracer providers for _, serviceName := range []string{otelutils.AdminGormTracer, otelutils.AdminServerTracer} { - if err := otelutils.RegisterTracerProvider(serviceName, otelutils.GetConfig()) ; err != nil { + if err := otelutils.RegisterTracerProvider(serviceName, otelutils.GetConfig()); err != nil { logger.Errorf(ctx, "Failed to create otel tracer provider. %v", err) return err } diff --git a/flyteadmin/pkg/manager/impl/workflow_manager_test.go b/flyteadmin/pkg/manager/impl/workflow_manager_test.go index 898f32793b..99da70a64b 100644 --- a/flyteadmin/pkg/manager/impl/workflow_manager_test.go +++ b/flyteadmin/pkg/manager/impl/workflow_manager_test.go @@ -4,12 +4,12 @@ import ( "context" "errors" "fmt" - "google.golang.org/grpc/status" "testing" "github.com/golang/protobuf/proto" "github.com/stretchr/testify/assert" "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" "github.com/flyteorg/flyte/flyteadmin/pkg/common" commonMocks "github.com/flyteorg/flyte/flyteadmin/pkg/common/mocks"