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