From 1de4300ccc824d3003930bf70e202fecfa530d16 Mon Sep 17 00:00:00 2001 From: sunil unnava Date: Thu, 29 Nov 2018 15:46:36 -0500 Subject: zookeeper start script changes Issue-ID: DMAAP-888 Change-Id: I6accb4422c82ca47e19e181946d7564d5d4026da Signed-off-by: sunil unnava --- src/main/docker/scripts/start-zookeeper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/docker/scripts/start-zookeeper.sh b/src/main/docker/scripts/start-zookeeper.sh index 3765be8..148ecc8 100644 --- a/src/main/docker/scripts/start-zookeeper.sh +++ b/src/main/docker/scripts/start-zookeeper.sh @@ -37,7 +37,7 @@ function print_servers() { function validate_env() { echo "Validating environment" - if [ $ZK_REPLICAS -gt 1] && [[ $HOST =~ (.*)-([0-9]+)$ ]]; then + if[ $HOST =~ (.*)-([0-9]+)$ ]]; then NAME=${BASH_REMATCH[1]} ORD=${BASH_REMATCH[2]} -- cgit 1.2.3-korg