From fbe2c808fd477af689304d36caaa5235d343d81f Mon Sep 17 00:00:00 2001 From: Michele Mancioppi Date: Sat, 22 Oct 2022 18:55:47 +0200 Subject: [PATCH] lint some more --- .../src/opentelemetry/sdk/extension/aws/resource/ecs.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk-extension/opentelemetry-sdk-extension-aws/src/opentelemetry/sdk/extension/aws/resource/ecs.py b/sdk-extension/opentelemetry-sdk-extension-aws/src/opentelemetry/sdk/extension/aws/resource/ecs.py index 6bd396e69d..44df3e7738 100644 --- a/sdk-extension/opentelemetry-sdk-extension-aws/src/opentelemetry/sdk/extension/aws/resource/ecs.py +++ b/sdk-extension/opentelemetry-sdk-extension-aws/src/opentelemetry/sdk/extension/aws/resource/ecs.py @@ -171,10 +171,10 @@ def _get_logs_resource(metadata_container): ResourceAttributes.AWS_LOG_STREAM_ARNS: [logs_stream_arn], } ) - else: - logger.warning( - "The metadata endpoint v4 has returned 'awslogs' as 'LogDriver', but there is no 'LogOptions' data" - ) + + logger.warning( + "The metadata endpoint v4 has returned 'awslogs' as 'LogDriver', but there is no 'LogOptions' data" + ) return Resource.get_empty()