From ee7a16eb1a2cb48042b5e95c3eeecf594781efd4 Mon Sep 17 00:00:00 2001 From: l Date: Thu, 21 Mar 2019 16:43:40 +0100 Subject: [PATCH] Fixing if whitespace error --- elasticsearch/config/load_settings.sh | 2 +- kibana/config/entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/elasticsearch/config/load_settings.sh b/elasticsearch/config/load_settings.sh index d78d0f17..79650157 100644 --- a/elasticsearch/config/load_settings.sh +++ b/elasticsearch/config/load_settings.sh @@ -15,7 +15,7 @@ else wazuh_url="${WAZUH_API_URL}" fi -if [ "x${ELASTICSEARCH_USERNAME}" = "x"]; then +if [ "x${ELASTICSEARCH_USERNAME}" = "x" ]; then auth="" else auth="--user ${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD}" diff --git a/kibana/config/entrypoint.sh b/kibana/config/entrypoint.sh index e612bbb3..067566c5 100644 --- a/kibana/config/entrypoint.sh +++ b/kibana/config/entrypoint.sh @@ -9,7 +9,7 @@ else el_url="${ELASTICSEARCH_URL}" fi -if [ "x${ELASTICSEARCH_USERNAME}" = "x"]; then +if [ "x${ELASTICSEARCH_USERNAME}" = "x" ]; then auth="" else auth="--user ${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD}"