replicainstall: give correct error message on DL mismatch

https://fedorahosted.org/freeipa/ticket/6510

Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Stanislav Laznicka
2016-11-29 14:08:19 +01:00
committed by Martin Basti
parent 6d0e450c82
commit 2dcbc9416f

View File

@@ -559,7 +559,7 @@ def check_domain_level(api, expected):
# available
current = constants.DOMAIN_LEVEL_0
if expected == constants.DOMAIN_LEVEL_0:
if current == constants.DOMAIN_LEVEL_0:
message = (
"You must provide a file generated by ipa-replica-prepare to "
"create a replica when the domain is at level 0."