summaryrefslogtreecommitdiffstats
path: root/client/ipa-client-install
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 /client/ipa-client-install
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 'client/ipa-client-install')
-rwxr-xr-xclient/ipa-client-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/ipa-client-install b/client/ipa-client-install
index cff3fbfcd..538b6adee 100755
--- a/client/ipa-client-install
+++ b/client/ipa-client-install
@@ -1753,7 +1753,7 @@ def get_server_connection_interface(server):
def client_dns(server, hostname, options):
try:
- verify_host_resolvable(hostname, root_logger)
+ verify_host_resolvable(hostname)
dns_ok = True
except errors.DNSNotARecordError:
root_logger.warning("Hostname (%s) does not have A/AAAA record.",