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

leahecole 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 1f32603549 update processor to fix broken download URLs (#23299)
1f32603549 is described below

commit 1f3260354988b304cf31d5e1d945ce91798bed48
Author: Jack Wotherspoon <[email protected]>
AuthorDate: Thu Apr 28 09:42:42 2022 -0400

    update processor to fix broken download URLs (#23299)
    
    merging because it has the "Ok to merge" and all non-skipped tests passed!
---
 airflow/providers/google/cloud/hooks/cloud_sql.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/airflow/providers/google/cloud/hooks/cloud_sql.py 
b/airflow/providers/google/cloud/hooks/cloud_sql.py
index b5225dea07..95f16fe9c1 100644
--- a/airflow/providers/google/cloud/hooks/cloud_sql.py
+++ b/airflow/providers/google/cloud/hooks/cloud_sql.py
@@ -452,6 +452,8 @@ class CloudSqlProxyRunner(LoggingMixin):
             return
         system = platform.system().lower()
         processor = os.uname().machine
+        if processor == "x86_64":
+            processor = "amd64"
         if not self.sql_proxy_version:
             download_url = CLOUD_SQL_PROXY_DOWNLOAD_URL.format(system, 
processor)
         else:

Reply via email to