mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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
This commit is contained in:
parent
79fa073411
commit
894cb7b8f0
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user