initial codes try 4

This commit is contained in:
2025-10-28 06:20:50 +02:00
parent 6d2c8776bd
commit 2c93a869f1

View File

@@ -5,7 +5,7 @@ log(){ echo "[nats-registration][entrypoint] $*"; }
err(){ echo "[nats-registration][entrypoint][ERROR] $*" >&2; } err(){ echo "[nats-registration][entrypoint][ERROR] $*" >&2; }
# Sanity: tools # Sanity: tools
+for bin in curl jq python; do for bin in curl jq python; do
command -v "$bin" >/dev/null 2>&1 || { err "Missing $bin"; exit 2; } command -v "$bin" >/dev/null 2>&1 || { err "Missing $bin"; exit 2; }
done done