dsv: Use correct dict usage (#743)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/760/head
Abhijeet Kasurde 2020-08-10 10:22:24 +05:30 committed by GitHub
parent 7f37103df3
commit 9e039cc4a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1,2 @@
bugfixes:
- dsv lookup - use correct dict usage (https://github.com/ansible-collections/community.general/pull/743).

View File

@ -112,7 +112,7 @@ class LookupModule(LookupBase):
self.set_options(var_options=variables, direct=kwargs) self.set_options(var_options=variables, direct=kwargs)
vault = LookupModule.Client( vault = LookupModule.Client(
**{ {
"tenant": self.get_option("tenant"), "tenant": self.get_option("tenant"),
"client_id": self.get_option("client_id"), "client_id": self.get_option("client_id"),
"client_secret": self.get_option("client_secret"), "client_secret": self.get_option("client_secret"),