From 894cb7b8f06f16a2466e68469870b134ae4ffa76 Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Fri, 17 Jan 2014 09:26:35 +0100 Subject: 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 --- ipalib/plugins/dns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/plugins/dns.py') diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py index 19811d7f..7538d282 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): -- cgit