Skip to content

Commit aecad8f

Browse files
committed
linting fix
1 parent 351d34f commit aecad8f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_configurator.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,13 +321,11 @@ def _customize_exporter(span_exporter: SpanExporter, resource: Resource) -> Span
321321

322322
if is_xray_otlp_endpoint(os.environ.get(OTEL_EXPORTER_OTLP_TRACES_ENDPOINT)):
323323
# TODO: Change this url once doc writer has added a section for using SigV4 without collector
324-
_logger.info(
325-
"Detected using AWS OTLP XRay Endpoint."
326-
)
324+
_logger.info("Detected using AWS OTLP XRay Endpoint.")
327325

328326
if isinstance(span_exporter, OTLPSpanExporter):
329327
span_exporter = OTLPAwsSpanExporter(endpoint=os.getenv(OTEL_EXPORTER_OTLP_TRACES_ENDPOINT))
330-
328+
331329
else:
332330
_logger.warning(
333331
"Improper configuration see: please export/set OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=http/protobuf and OTEL_TRACES_EXPORTER=otlp"

0 commit comments

Comments
 (0)