summaryrefslogtreecommitdiffstats
path: root/ipaclient
diff options
context:
space:
mode:
authorDavid Kupka <dkupka@redhat.com>2016-08-16 16:49:57 +0200
committerJan Cholasta <jcholast@redhat.com>2016-08-17 14:16:04 +0200
commit6e6cbda036559e741ead0ab5ba18b0be0b41621e (patch)
treebd82e03541add1c02415417531600b7f7aad41c7 /ipaclient
parent4b43558b1c2301f40fea0afc8d9d5baf53aaaf6a (diff)
downloadfreeipa-6e6cbda036559e741ead0ab5ba18b0be0b41621e.tar.gz
freeipa-6e6cbda036559e741ead0ab5ba18b0be0b41621e.tar.xz
freeipa-6e6cbda036559e741ead0ab5ba18b0be0b41621e.zip
compat: Fix ping command call
Remove extra argument from client.forward call. https://fedorahosted.org/freeipa/ticket/6095 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipaclient')
-rw-r--r--ipaclient/remote_plugins/compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaclient/remote_plugins/compat.py b/ipaclient/remote_plugins/compat.py
index b6d099a07..5e08cb0ed 100644
--- a/ipaclient/remote_plugins/compat.py
+++ b/ipaclient/remote_plugins/compat.py
@@ -41,7 +41,7 @@ def get_package(api, server_info, 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: