summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/bindinstance.py
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2016-05-17 17:20:25 +0200
committerMartin Basti <mbasti@redhat.com>2016-05-30 20:14:32 +0200
commitec49130b94d2aa195c6b704a30fe6c3137fabdbf (patch)
tree4cfc49b4132079b2baab6edf7c73eeddcbac3aac /ipaserver/install/bindinstance.py
parent0c75df4bf3784eae08f41c176bbaab44c6d510a7 (diff)
downloadfreeipa-ec49130b94d2aa195c6b704a30fe6c3137fabdbf.tar.gz
freeipa-ec49130b94d2aa195c6b704a30fe6c3137fabdbf.tar.xz
freeipa-ec49130b94d2aa195c6b704a30fe6c3137fabdbf.zip
Use root_logger for verify_host_resolvable()
After discussion with Martin Basti we decided to standardize on root_logger with hope that one day we will use root_logger.getLogger('module') to make logging prettier and tunable per module. https://fedorahosted.org/freeipa/ticket/5710 Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipaserver/install/bindinstance.py')
-rw-r--r--ipaserver/install/bindinstance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/bindinstance.py b/ipaserver/install/bindinstance.py
index 0a988562f..2a642422a 100644
--- a/ipaserver/install/bindinstance.py
+++ b/ipaserver/install/bindinstance.py
@@ -878,7 +878,7 @@ class BindInstance(service.Service):
if not dns_zone_exists(zone, self.api):
# check if master hostname is resolvable
try:
- verify_host_resolvable(fqdn, root_logger)
+ verify_host_resolvable(fqdn)
except errors.DNSNotARecordError:
root_logger.warning("Master FQDN (%s) is not resolvable.",
fqdn)