diff options
author | sunil unnava <sunil.unnava@att.com> | 2018-11-29 15:46:36 -0500 |
---|---|---|
committer | sunil unnava <sunil.unnava@att.com> | 2018-11-29 15:46:53 -0500 |
commit | 1de4300ccc824d3003930bf70e202fecfa530d16 (patch) | |
tree | fbc24cbd4821eb6308cf2aa6ec83d264d1d7ab3f | |
parent | 4a49829ddac71f1817c03425dd6efd8c4b7b07a5 (diff) |
zookeeper start script changes
Issue-ID: DMAAP-888
Change-Id: I6accb4422c82ca47e19e181946d7564d5d4026da
Signed-off-by: sunil unnava <sunil.unnava@att.com>
-rw-r--r-- | src/main/docker/scripts/start-zookeeper.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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]} |