Skip to content

Commit

Permalink
Fix syntax for Python 2.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Feb 11, 2023
1 parent 2e0d9c7 commit 17c2658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/module_utils/common_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def __init__(self, min_docker_api_version=None):
self._connect_params = get_connect_params(self.auth_params, fail_function=self.fail)

try:
super(AnsibleDockerClientBase, self).__init__(**self._connect_params, warn=self.warn)
super(AnsibleDockerClientBase, self).__init__(warn=self.warn, **self._connect_params)
self.docker_api_version_str = self.api_version
except MissingRequirementException as exc:
self.fail(missing_required_lib(exc.requirement), exception=exc.import_exception)
Expand Down

0 comments on commit 17c2658

Please sign in to comment.