Skip to content

Commit

Permalink
Update jobrunner/tracing.py
Browse files Browse the repository at this point in the history
Co-authored-by: Dave Evans <[email protected]>
  • Loading branch information
bloodearnest and evansd committed Mar 21, 2024
1 parent 8b259e1 commit 157fae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobrunner/tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def setup_default_tracing(set_global=True):
if "OTEL_EXPORTER_OTLP_HEADERS" in os.environ:
# workaround for env file parsing issues
cleaned_headers = os.environ["OTEL_EXPORTER_OTLP_HEADERS"].strip("\"'")
# put back into env to be parsed properlh
# put back into env to be parsed properly
os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = cleaned_headers

if "OTEL_EXPORTER_OTLP_ENDPOINT" not in os.environ:
Expand Down

0 comments on commit 157fae3

Please sign in to comment.