diff options
-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]} |