diff options
author | Jan Cholasta <jcholast@redhat.com> | 2016-07-25 15:58:20 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2016-07-28 15:25:19 +0200 |
commit | b8b7b9bf8e8a23d652c99c335219abf9de1a6fb7 (patch) | |
tree | 7446cecba8abf4da9c44b797a57a28ed2d103eb4 /ipaclient | |
parent | 0253f3d7319442150c37fe62e7c9f3f985406ccb (diff) | |
download | freeipa-b8b7b9bf8e8a23d652c99c335219abf9de1a6fb7.tar.gz freeipa-b8b7b9bf8e8a23d652c99c335219abf9de1a6fb7.tar.xz freeipa-b8b7b9bf8e8a23d652c99c335219abf9de1a6fb7.zip |
compat: fix ping call
Copy & paste accident caused the ping command to be called with an unwanted
argument, which results in an exception.
Remove the argument to fix it.
https://fedorahosted.org/freeipa/ticket/6129
Diffstat (limited to 'ipaclient')
-rw-r--r-- | ipaclient/remote_plugins/compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaclient/remote_plugins/compat.py b/ipaclient/remote_plugins/compat.py index 40521af45..aef5718fc 100644 --- a/ipaclient/remote_plugins/compat.py +++ b/ipaclient/remote_plugins/compat.py @@ -39,7 +39,7 @@ def get_package(api, client): try: server_version = env['result']['api_version'] except KeyError: - ping = client.forward(u'ping', u'api_version', version=u'2.0') + ping = client.forward(u'ping', version=u'2.0') try: match = re.search(u'API version (2\.[0-9]+)', ping['summary']) except KeyError: |