From dbb4857d087868ebfe79f3f51d7f3fc682acf793 Mon Sep 17 00:00:00 2001 From: Tarun Menon Date: Fri, 12 Jul 2024 11:17:45 +1000 Subject: [PATCH] update slave to worker --- locust/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locust/docker-entrypoint.sh b/locust/docker-entrypoint.sh index fd63cd2..c00011e 100755 --- a/locust/docker-entrypoint.sh +++ b/locust/docker-entrypoint.sh @@ -24,7 +24,7 @@ case `echo ${LOCUST_MODE} | tr 'a-z' 'A-Z'` in ;; "SLAVE") - LOCUST_OPTS="--slave --master-host=${LOCUST_MASTER} --master-port=${LOCUST_MASTER_BIND_PORT} $LOCUST_OPTS" + LOCUST_OPTS="--worker --master-host=${LOCUST_MASTER} --master-port=${LOCUST_MASTER_BIND_PORT} $LOCUST_OPTS" if [ -z ${LOCUST_MASTER+x} ] ; then echo "You need to set LOCUST_MASTER." exit 1