You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/08/24 22:27:07 UTC
[airflow] branch master updated: Fix typo in PostgresHook (#10529)
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new 47265e7 Fix typo in PostgresHook (#10529)
47265e7 is described below
commit 47265e7b58bc28bcbbffc981442b6cc27a3af39c
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Mon Aug 24 23:26:30 2020 +0100
Fix typo in PostgresHook (#10529)
`PostrgresHook` -> `PostgresHook`
---
airflow/providers/google/cloud/hooks/cloud_sql.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/providers/google/cloud/hooks/cloud_sql.py b/airflow/providers/google/cloud/hooks/cloud_sql.py
index 0783c1f..a033de0 100644
--- a/airflow/providers/google/cloud/hooks/cloud_sql.py
+++ b/airflow/providers/google/cloud/hooks/cloud_sql.py
@@ -977,7 +977,7 @@ class CloudSQLDatabaseHook(BaseHook): # noqa
if not self.db_hook:
raise ValueError("The db_hook should be set")
if not isinstance(self.db_hook, PostgresHook):
- raise ValueError(f"The db_hook should be PostrgresHook and is {type(self.db_hook)}")
+ raise ValueError(f"The db_hook should be PostgresHook and is {type(self.db_hook)}")
conn = getattr(self.db_hook, 'conn')
if conn and conn.notices:
for output in self.db_hook.conn.notices: