summaryrefslogtreecommitdiffstats
path: root/ipaclient/plugins
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2016-06-21 07:47:52 +0200
committerMartin Basti <mbasti@redhat.com>2016-06-21 13:03:14 +0200
commit894be1bd50905b86d87244d0ede3f266e9737b9a (patch)
treeae3c4b51e56dd76894e0d53d7559991e768bf92d /ipaclient/plugins
parent0787af8d5a1a75e25f73cc632c4c7ebdd212ad02 (diff)
downloadfreeipa-894be1bd50905b86d87244d0ede3f266e9737b9a.tar.gz
freeipa-894be1bd50905b86d87244d0ede3f266e9737b9a.tar.xz
freeipa-894be1bd50905b86d87244d0ede3f266e9737b9a.zip
dns: fix dns_update_system_records to work with thin client
https://fedorahosted.org/freeipa/ticket/2008 https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipaclient/plugins')
-rw-r--r--ipaclient/plugins/dns.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaclient/plugins/dns.py b/ipaclient/plugins/dns.py
index d04f686dd..bca5ad73c 100644
--- a/ipaclient/plugins/dns.py
+++ b/ipaclient/plugins/dns.py
@@ -23,7 +23,7 @@ from __future__ import print_function
import six
import copy
-from ipaclient.frontend import MethodOverride, CommandOverride
+from ipaclient.frontend import MethodOverride
from ipalib import errors
from ipalib.dns import (get_part_rrtype,
get_record_rrtype,
@@ -347,7 +347,7 @@ class dnsforwardzone_mod(MethodOverride):
@register(override=True)
-class dns_update_system_records(CommandOverride):
+class dns_update_system_records(MethodOverride):
def output_for_cli(self, textui, output, *args, **options):
output_super = copy.deepcopy(output)
super_res = output_super.get('result', {})