You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by pa...@apache.org on 2023/08/26 10:54:03 UTC

[airflow] branch main updated: Remove duplicated message commit in Azure MessageHook (#33776)

This is an automated email from the ASF dual-hosted git repository.

pankaj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 4bae275edd Remove duplicated message commit in Azure MessageHook (#33776)
4bae275edd is described below

commit 4bae275edd819eaf56c3382af7b152652b0ce0c0
Author: Hussein Awala <hu...@awala.fr>
AuthorDate: Sat Aug 26 12:53:56 2023 +0200

    Remove duplicated message commit in Azure MessageHook (#33776)
---
 airflow/providers/microsoft/azure/hooks/asb.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/airflow/providers/microsoft/azure/hooks/asb.py b/airflow/providers/microsoft/azure/hooks/asb.py
index c20944e160..7001db46f9 100644
--- a/airflow/providers/microsoft/azure/hooks/asb.py
+++ b/airflow/providers/microsoft/azure/hooks/asb.py
@@ -301,5 +301,3 @@ class MessageHook(BaseAzureServiceBusHook):
                 for msg in received_msgs:
                     self.log.info(msg)
                     subscription_receiver.complete_message(msg)
-                    self.log.info(msg)
-                    subscription_receiver.complete_message(msg)