mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 08:37:48 -02:30
Merge pull request #8037 from bbayszczak/fix_typo_comment_hashivault
[credential_plugin/hashivault] fix typo Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -152,7 +152,7 @@ def kv_backend(**kwargs):
|
|||||||
|
|
||||||
sess = requests.Session()
|
sess = requests.Session()
|
||||||
sess.headers['Authorization'] = 'Bearer {}'.format(token)
|
sess.headers['Authorization'] = 'Bearer {}'.format(token)
|
||||||
# Compatability header for older installs of Hashicorp Vault
|
# Compatibility header for older installs of Hashicorp Vault
|
||||||
sess.headers['X-Vault-Token'] = token
|
sess.headers['X-Vault-Token'] = token
|
||||||
|
|
||||||
if api_version == 'v2':
|
if api_version == 'v2':
|
||||||
|
|||||||
Reference in New Issue
Block a user