From f97657952b85c7027bc52fd6a96e8104d7a9e4a4 Mon Sep 17 00:00:00 2001 From: Emmanuel Ferdman Date: Wed, 21 May 2025 04:55:24 -0700 Subject: [PATCH] Resolve logger warnings Signed-off-by: Emmanuel Ferdman --- src/robusta/integrations/jira/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/robusta/integrations/jira/client.py b/src/robusta/integrations/jira/client.py index 0e8e42a90..d0bfad9df 100644 --- a/src/robusta/integrations/jira/client.py +++ b/src/robusta/integrations/jira/client.py @@ -150,7 +150,7 @@ def _get_issue_for_labels(self, labels): issue = issues.get("issues")[0] if issues.get("total", 0) > 1: - logging.warn(f"More than one issue found for query: '{query}', picking most recent one") + logging.warning(f"More than one issue found for query: '{query}', picking most recent one") logging.debug(f"Picked issue '{issue}'") return issue