We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ad4435 commit e19d0e5Copy full SHA for e19d0e5
aws-opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_configurator.py
@@ -548,7 +548,7 @@ def validate_logs_headers() -> bool:
548
split = pair.split("=", 1)
549
key = split[0]
550
value = split[1]
551
- if (key == AWS_OTLP_LOGS_GROUP_HEADER or key == AWS_OTLP_LOGS_STREAM_HEADER) and value:
+ if key in (AWS_OTLP_LOGS_GROUP_HEADER, AWS_OTLP_LOGS_STREAM_HEADER) and value:
552
filtered_log_headers_count += 1
553
554
if filtered_log_headers_count != 2:
0 commit comments