Fix typo when ara_record retrieves options from the callback

Caught by the upcoming integration tests. It wouldn't had merged
if the tests had been ready.

Change-Id: Ic0aff764f9f9f2a1ba6235fc2302e8e155e59753
This commit is contained in:
David Moreau Simard 2019-01-22 17:34:28 -05:00
parent f7fa02c915
commit e55e217a80
No known key found for this signature in database
GPG Key ID: CBEB466764A9E621
1 changed files with 3 additions and 3 deletions

View File

@ -144,9 +144,9 @@ class ActionModule(ActionBase):
# Retrieves the runtime plugin options for the ara_default callback plugin
options = ansible_constants.config.get_plugin_options("callback", "ara_default")
client = options("api_client")
endpoint = options("api_server")
timeout = options("api_timeout")
client = options["api_client"]
endpoint = options["api_server"]
timeout = options["api_timeout"]
self.client = client_utils.get_client(client=client, endpoint=endpoint, timeout=timeout)
def create_or_update_key(self, playbook, key, value, type):