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

kaxilnaik 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 03b08aa  Fix Vault Hook default connection name (#20792)
03b08aa is described below

commit 03b08aad8c71204da7edc1202ff9928ff236366a
Author: Alexander Chen <[email protected]>
AuthorDate: Fri Jan 14 09:10:40 2022 -0800

    Fix Vault Hook default connection name (#20792)
    
    HashiCorp Vault connection uses `imap_default` as default connection name, 
which seems to be a copy/paste error.
---
 airflow/providers/hashicorp/hooks/vault.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/providers/hashicorp/hooks/vault.py 
b/airflow/providers/hashicorp/hooks/vault.py
index b298e3b..36b28f0 100644
--- a/airflow/providers/hashicorp/hooks/vault.py
+++ b/airflow/providers/hashicorp/hooks/vault.py
@@ -112,7 +112,7 @@ class VaultHook(BaseHook):
     """
 
     conn_name_attr = 'vault_conn_id'
-    default_conn_name = 'imap_default'
+    default_conn_name = 'vault_default'
     conn_type = 'vault'
     hook_name = 'Hashicorp Vault'
 

Reply via email to