fix hashi_vault lookup generates warning at LDAP authenticate #52131 (#67251)

pull/65665/merge
ihard 5 years ago committed by GitHub
parent c36f03b3e1
commit ad2428c176
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -247,7 +247,7 @@ class HashiVault:
if mount_point is None: if mount_point is None:
mount_point = 'ldap' mount_point = 'ldap'
self.client.auth_ldap(username, password, mount_point=mount_point) self.client.auth.ldap.login(username, password, mount_point=mount_point)
def boolean_or_cacert(self, validate_certs, cacert): def boolean_or_cacert(self, validate_certs, cacert):
validate_certs = boolean(validate_certs, strict=False) validate_certs = boolean(validate_certs, strict=False)

Loading…
Cancel
Save