Skip to content

Commit 49e5645

Browse files
committed
format
1 parent 9642cf4 commit 49e5645

File tree

1 file changed

+2
-4
lines changed
  • instrumentation/lettuce/lettuce-5.1/library/src/main/java/io/opentelemetry/instrumentation/lettuce/v5_1

1 file changed

+2
-4
lines changed

instrumentation/lettuce/lettuce-5.1/library/src/main/java/io/opentelemetry/instrumentation/lettuce/v5_1/OpenTelemetryTracing.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,8 @@ public synchronized Tracer.Span start() {
332332
span = spanBuilder.startSpan();
333333
spanStartNanos = System.nanoTime();
334334
// Note: Span name cannot be set on SpanBuilder because it's set during
335-
// tracer.spanBuilder(name)
336-
// call in nextSpan(), and we don't know the actual command name at that point. We have to
337-
// update
338-
// the name after the span starts.
335+
// tracer.spanBuilder(name) call in nextSpan(), and we don't know the actual command name at
336+
// that point. We have to update the name after the span starts.
339337
if (name != null) {
340338
span.updateName(name);
341339
}

0 commit comments

Comments
 (0)