From 56ea1d785f2d81e7e37ab46ce997b0f4907bf39e Mon Sep 17 00:00:00 2001 From: Luke Couzens Date: Mon, 9 Dec 2024 16:44:00 +0000 Subject: [PATCH] fix log message --- koku/masu/util/aws/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koku/masu/util/aws/common.py b/koku/masu/util/aws/common.py index 329e210927..8394a4da12 100644 --- a/koku/masu/util/aws/common.py +++ b/koku/masu/util/aws/common.py @@ -216,8 +216,8 @@ def __init__(self, credentials): if match: for key, val in match.groupdict().items(): setattr(self, key, val) - - LOG.warning(f"Invalid ARN: {self.arn}") + else: + LOG.warning(f"Invalid ARN: {self.arn}") def __repr__(self): """Return the ARN itself."""