Skip to content

Commit 47265e7

Browse files
authored
Fix typo in PostgresHook (#10529)
`PostrgresHook` -> `PostgresHook`
1 parent 2dab0e2 commit 47265e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airflow/providers/google/cloud/hooks/cloud_sql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@ def cleanup_database_hook(self) -> None:
977977
if not self.db_hook:
978978
raise ValueError("The db_hook should be set")
979979
if not isinstance(self.db_hook, PostgresHook):
980-
raise ValueError(f"The db_hook should be PostrgresHook and is {type(self.db_hook)}")
980+
raise ValueError(f"The db_hook should be PostgresHook and is {type(self.db_hook)}")
981981
conn = getattr(self.db_hook, 'conn')
982982
if conn and conn.notices:
983983
for output in self.db_hook.conn.notices:

0 commit comments

Comments
 (0)