9991ea
From a8cc1ff0dbf3de89b78c8d382779433658286750 Mon Sep 17 00:00:00 2001
9991ea
From: Martin Kosek <mkosek@redhat.com>
9991ea
Date: Fri, 17 Jan 2014 09:26:35 +0100
9991ea
Subject: [PATCH] Remove missing VERSION warning in dnsrecord-mod
9991ea
9991ea
dnsrecord-mod may call dnsrecord-delentry command when all records
9991ea
are deleted. However, the version was not passwd to delentry and
9991ea
it resulted in a warning.
9991ea
9991ea
https://fedorahosted.org/freeipa/ticket/4120
9991ea
---
9991ea
 ipalib/plugins/dns.py | 2 +-
9991ea
 1 file changed, 1 insertion(+), 1 deletion(-)
9991ea
9991ea
diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py
9991ea
index 07523dc72466892f0e7d5fdd9261024d0e898548..94ae92ba5d1ae42e31ebb6100c743a2334f29e70 100644
9991ea
--- a/ipalib/plugins/dns.py
9991ea
+++ b/ipalib/plugins/dns.py
9991ea
@@ -2636,7 +2636,7 @@ def execute(self, *keys, **options):
9991ea
                     break
9991ea
 
9991ea
             if del_all:
9991ea
-                return self.obj.methods.delentry(*keys)
9991ea
+                return self.obj.methods.delentry(*keys, version=options['version'])
9991ea
         return result
9991ea
 
9991ea
     def post_callback(self, ldap, dn, entry_attrs, *keys, **options):
9991ea
-- 
9991ea
1.8.4.2
9991ea