mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
tests: correct usage of hostname in logger in tasks
This fix adds correct usage of host.hostname in logger. Fixes: https://pagure.io/freeipa/issue/7190 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
committed by
Tomas Krizek
parent
dea059d158
commit
c8dbd0cfbe
@@ -1096,11 +1096,11 @@ def add_a_records_for_hosts_in_master_domain(master):
|
||||
# domain
|
||||
try:
|
||||
verify_host_resolvable(host.hostname)
|
||||
logger.debug("The host (%s) is resolvable.", host.domain.name)
|
||||
logger.debug("The host (%s) is resolvable.", host.hostname)
|
||||
except errors.DNSNotARecordError:
|
||||
logger.debug("Hostname (%s) does not have A/AAAA record. Adding "
|
||||
"new one.",
|
||||
master.hostname)
|
||||
host.hostname)
|
||||
add_a_record(master, host)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user