Skip to content

Commit f456f5b

Browse files
committed
Remove unused assignment
1 parent b18526b commit f456f5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/tracing/workflow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func Activity1(ctx context.Context, a, b int) (int, error) {
6767
ctx, span := otel.Tracer("activity").Start(ctx, "Custom Activity1 span")
6868
defer span.End()
6969

70-
ctx, span = otel.Tracer("activity").Start(ctx, "Another one")
70+
_, span = otel.Tracer("activity").Start(ctx, "Another one")
7171
defer span.End()
7272

7373
time.Sleep(300 * time.Millisecond)

0 commit comments

Comments
 (0)