Skip to content

Commit 902a7df

Browse files
committed
Fix possibly unbound error
1 parent 7aae664 commit 902a7df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/workflows/services/common_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ def start_transport(self):
216216
endpoint=otel_config["endpoint"],
217217
timeout=otel_config.get("timeout", 10),
218218
)
219-
span_processor = BatchSpanProcessor(otlp_exporter)
220-
provider.add_span_processor(span_processor)
219+
span_processor = BatchSpanProcessor(otlp_exporter)
220+
provider.add_span_processor(span_processor)
221221

222222
# Add OTELTracingMiddleware to the transport layer
223223
tracer = trace.get_tracer(__name__)

0 commit comments

Comments
 (0)