summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivér Szabó <oleewere@gmail.com>2018-06-04 13:11:11 +0200
committerGitHub <noreply@github.com>2018-06-04 13:11:11 +0200
commit952a474ee6b9e7af06b360928dab5d01b51256a5 (patch)
tree265e5b5e919d4f7a310244756d5e6ae88620ab4d
parentd34884e51922f0e394ad50578be2283cf1d2361d (diff)
AMBARI-24017. Ambari-server protocol passed wrongly for Log Search if SSL is enabled. (#1449)
-rw-r--r--ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/params.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/params.py b/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/params.py
index cd06421bdf..8194287cde 100644
--- a/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/params.py
+++ b/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/params.py
@@ -237,7 +237,7 @@ logsearch_admin_content = config['configurations']['logsearch-admin-json']['cont
if 'ambari_server_host' in config['ambariLevelParams']:
ambari_server_host = config['ambariLevelParams']['ambari_server_host']
ambari_server_port = config['ambariLevelParams']['ambari_server_port']
- ambari_server_use_ssl = config['ambariLevelParams']['ambari_server_use_ssl'] == 'true'
+ ambari_server_use_ssl = config['ambariLevelParams']['ambari_server_use_ssl']
ambari_server_protocol = 'https' if ambari_server_use_ssl else 'http'