Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
billyb2 committed Jul 29, 2024
1 parent c231251 commit c998198
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/build/imgsrc/ensure_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ import (
"github.com/superfly/flyctl/internal/flyutil"
"github.com/superfly/flyctl/internal/haikunator"
"github.com/superfly/flyctl/internal/tracing"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/trace"
)

func EnsureBuilder(ctx context.Context, org *fly.Organization, region string, recreateBuilder bool) (*fly.Machine, *fly.App, error) {
Expand Down Expand Up @@ -148,7 +146,7 @@ const (
)

func validateBuilder(ctx context.Context, app *fly.App) (*fly.Machine, error) {
ctx, span := tracing.GetTracer().Start(ctx, "validate_builder", trace.WithAttributes(attribute.String("bulder_app", app.Name)))
ctx, span := tracing.GetTracer().Start(ctx, "validate_builder")
defer span.End()

if app == nil {
Expand Down

0 comments on commit c998198

Please sign in to comment.