From aa67d97a6c81d693ab8956237696aa901428ce00 Mon Sep 17 00:00:00 2001 From: andrussal Date: Tue, 9 Dec 2025 07:52:46 +0100 Subject: [PATCH] Fix host mode parsing in run-examples --- scripts/run-examples.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/run-examples.sh b/scripts/run-examples.sh index b497c94..b8e73c8 100755 --- a/scripts/run-examples.sh +++ b/scripts/run-examples.sh @@ -73,7 +73,7 @@ while [ "$#" -gt 0 ]; do DEMO_VALIDATORS="${2:-}"; shift 2 ;; -e|--executors) DEMO_EXECUTORS="${2:-}"; shift 2 ;; - compose|local|k8s) + compose|host|k8s) MODE="$1"; shift ;; *) # Positional run-seconds fallback for legacy usage @@ -97,9 +97,9 @@ trap cleanup EXIT case "$MODE" in compose) BIN="compose_runner" ;; - local) BIN="local_runner" ;; + host) BIN="local_runner" ;; k8s) BIN="k8s_runner" ;; - *) echo "Unknown mode '$MODE' (use compose|local)" >&2; exit 1 ;; + *) echo "Unknown mode '$MODE' (use compose|host|k8s)" >&2; exit 1 ;; esac if ! [[ "${RUN_SECS_RAW}" =~ ^[0-9]+$ ]] || [ "${RUN_SECS_RAW}" -le 0 ]; then