summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/dns.py
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2014-01-17 09:26:35 +0100
committerMartin Kosek <mkosek@redhat.com>2014-01-17 09:29:52 +0100
commit894cb7b8f06f16a2466e68469870b134ae4ffa76 (patch)
tree44701a2262d530e171ca8ad7d1deda14ebbed3ab /ipalib/plugins/dns.py
parent79fa07341156eddab7466f2780a45de959f42368 (diff)
downloadfreeipa-894cb7b8f06f16a2466e68469870b134ae4ffa76.tar.gz
freeipa-894cb7b8f06f16a2466e68469870b134ae4ffa76.tar.xz
freeipa-894cb7b8f06f16a2466e68469870b134ae4ffa76.zip
Remove missing VERSION warning in dnsrecord-mod
dnsrecord-mod may call dnsrecord-delentry command when all records are deleted. However, the version was not passwd to delentry and it resulted in a warning. https://fedorahosted.org/freeipa/ticket/4120
Diffstat (limited to 'ipalib/plugins/dns.py')
-rw-r--r--ipalib/plugins/dns.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py
index 19811d7f2..7538d282d 100644
--- a/ipalib/plugins/dns.py
+++ b/ipalib/plugins/dns.py
@@ -2636,7 +2636,7 @@ class dnsrecord_mod(LDAPUpdate):
break
if del_all:
- return self.obj.methods.delentry(*keys)
+ return self.obj.methods.delentry(*keys, version=options['version'])
return result
def post_callback(self, ldap, dn, entry_attrs, *keys, **options):