mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
server-del: fix incorrect check for one IPA master
https://fedorahosted.org/freeipa/ticket/6417 Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
e3b7d235d5
commit
7a183bad66
@ -473,7 +473,7 @@ class server_del(LDAPDelete):
|
||||
ipa_masters = ipa_config['ipa_master_server']
|
||||
|
||||
# skip these checks if the last master is being removed
|
||||
if ipa_masters == [hostname]:
|
||||
if len(ipa_masters) <= 1:
|
||||
return
|
||||
|
||||
if self.api.Command.dns_is_enabled()['result']:
|
||||
|
Loading…
Reference in New Issue
Block a user