Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix(e2e): drop one-iteration namespace loop flagged by shellcheck SC2066

Alfredo Lopez91732a9abb6f
diff --git a/scripts/e2e/e2e-workflow-runtime-limits-sandbox-ui.sh b/scripts/e2e/e2e-workflow-runtime-limits-sandbox-ui.sh
index 4a9dfd0d8..ed044cfbd 100755
--- a/scripts/e2e/e2e-workflow-runtime-limits-sandbox-ui.sh
+++ b/scripts/e2e/e2e-workflow-runtime-limits-sandbox-ui.sh
@@ -271,9 +271,7 @@ validate_test_limit_inputs
header "Phase 0 - Prerequisites"
require_safe_kube_context
check_prerequisites
-for ns in "$SANDBOX_UI_NS"; do
- kctl get ns "$ns" >/dev/null && ok "Namespace '${ns}' exists" || fail "Namespace '${ns}' not found"
-done
+kctl get ns "$SANDBOX_UI_NS" >/dev/null && ok "Namespace '${SANDBOX_UI_NS}' exists" || fail "Namespace '${SANDBOX_UI_NS}' not found"
kctl get configmap "$LIMIT_CONFIGMAP" -n "$CONTROL_NS" >/dev/null &&
ok "ConfigMap ${CONTROL_NS}/${LIMIT_CONFIGMAP} exists" ||
fail "ConfigMap ${CONTROL_NS}/${LIMIT_CONFIGMAP} not found"