From f56c9d1f1c82daa3242183ea23abde1841ccefd6 Mon Sep 17 00:00:00 2001 From: Piotr Macek <4007944+piotrm50@users.noreply.github.com> Date: Thu, 2 Nov 2023 14:57:03 +0100 Subject: [PATCH] Cleanup run.sh script --- tools/docker-network/run.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/docker-network/run.sh b/tools/docker-network/run.sh index 6cac8241e..a47388ec1 100755 --- a/tools/docker-network/run.sh +++ b/tools/docker-network/run.sh @@ -1,17 +1,16 @@ #!/bin/bash -set -e + # Create a function to join an array of strings by a given character function join { local IFS="$1"; shift; echo "$*"; } # All parameters can be optional now, just make sure we don't have too many if [[ $# -gt 4 ]] ; then - echo 'Call with ./run [replicas=1|2|3|...] [monitoring=0|1] [feature=0|1]' + echo 'Call with ./run [monitoring=0|1]' exit 0 fi -REPLICAS=${1:-1} -MONITORING=${2:-0} +MONITORING=${1:-0} export DOCKER_BUILDKIT=1 export COMPOSE_DOCKER_CLI_BUILD=1