Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
VojtechVitek committed May 5, 2024
1 parent 7eaa97b commit 9aed493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/tracing/tracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const tracerName = "github.com/0xsequence/waas-authenticator/rpc/tracing"

func Intent(ctx context.Context, intent *intents.Intent) (context.Context, trace.Span) {
tracer := otel.Tracer(tracerName)
return tracer.Start(ctx, "Intent."+intent.Name, trace.WithSpanKind(trace.SpanKindInternal))
return tracer.Start(ctx, "Intent."+string(intent.Name), trace.WithSpanKind(trace.SpanKindInternal))
}

func Span(ctx context.Context, name string) (context.Context, trace.Span) {
Expand Down

0 comments on commit 9aed493

Please sign in to comment.