You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2026/01/04 14:02:21 UTC
(airflow) branch main updated: Fixed CloudSqlDatabaseHook error message for missing host (#60089)
This is an automated email from the ASF dual-hosted git repository.
potiuk 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 c1b41389821 Fixed CloudSqlDatabaseHook error message for missing host (#60089)
c1b41389821 is described below
commit c1b41389821cf8f01cadec541b73ae278439a80d
Author: Justin Pakzad <ju...@gmail.com>
AuthorDate: Sun Jan 4 09:02:14 2026 -0500
Fixed CloudSqlDatabaseHook error message for missing host (#60089)
---
.../google/src/airflow/providers/google/cloud/hooks/cloud_sql.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/providers/google/src/airflow/providers/google/cloud/hooks/cloud_sql.py b/providers/google/src/airflow/providers/google/cloud/hooks/cloud_sql.py
index 6460599cead..766f906b1ce 100644
--- a/providers/google/src/airflow/providers/google/cloud/hooks/cloud_sql.py
+++ b/providers/google/src/airflow/providers/google/cloud/hooks/cloud_sql.py
@@ -1066,7 +1066,7 @@ class CloudSQLDatabaseHook(BaseHook):
if not self.user:
raise AirflowException("The login parameter needs to be set in connection")
if not self.public_ip:
- raise AirflowException("The location parameter needs to be set in connection")
+ raise AirflowException("The host parameter needs to be set in connection")
if not self.password:
raise AirflowException("The password parameter needs to be set in connection")
if not self.database:
@@ -1129,7 +1129,7 @@ class CloudSQLDatabaseHook(BaseHook):
if not self.user:
raise AirflowException("The login parameter needs to be set in connection")
if not self.public_ip:
- raise AirflowException("The location parameter needs to be set in connection")
+ raise AirflowException("The host parameter needs to be set in connection")
if not self.password:
raise AirflowException("The password parameter needs to be set in connection")
if not self.database: