Adaverse commented on code in PR #32779:
URL: https://github.com/apache/airflow/pull/32779#discussion_r1272050947


##########
airflow/providers/microsoft/azure/log/wasb_task_handler.py:
##########
@@ -148,7 +146,7 @@ def _read_remote_logs(self, ti, try_number, metadata=None) 
-> tuple[list[str], l
             self.log.exception("can't list blobs")
 
         if blob_names:
-            uris = [f"wasb://{self.wasb_container}/{b}" for b in blob_names]
+            uris = [f"https://{self.wasb_container}.blob.core.windows.net/{b}"; 
for b in blob_names]

Review Comment:
   The Azure blob storage connection hook uses https to upload, download log 
blobs not wasb. Hence I changed it here to avoid any confusion. Do let me know 
if im missing anything here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to