From 0b6e2b10359fe64a55d154a86d228fe62f0a1ec5 Mon Sep 17 00:00:00 2001 From: vcerenu Date: Thu, 24 Feb 2022 14:04:26 -0300 Subject: [PATCH] Fix PR --- wazuh-indexer/config/entrypoint.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wazuh-indexer/config/entrypoint.sh b/wazuh-indexer/config/entrypoint.sh index d16fd5c4..0cd39db0 100644 --- a/wazuh-indexer/config/entrypoint.sh +++ b/wazuh-indexer/config/entrypoint.sh @@ -30,10 +30,6 @@ run_as_other_user_if_needed() { if [[ "$1" != "opensearchwrapper" ]]; then if [[ "$(id -u)" == "0" && $(basename "$1") == "opensearch" ]]; then # Rewrite CMD args to replace $1 with `opensearch` explicitly, - # so that we are backwards compatible with the docs - # from the previous Elasticsearch versions<6 - # and configuration option D: - # https://www.elastic.co/guide/en/elasticsearch/reference/5.6/docker.html#_d_override_the_image_8217_s_default_ulink_url_https_docs_docker_com_engine_reference_run_cmd_default_command_or_options_cmd_ulink # Without this, user could specify `opensearch -E x.y=z` but # `bin/opensearch -E x.y=z` would not work. set -- "opensearch" "${@:2}"