initial codes try 2
This commit is contained in:
@@ -5,7 +5,7 @@ log(){ echo "[nats-registration][entrypoint] $*"; }
|
||||
err(){ echo "[nats-registration][entrypoint][ERROR] $*" >&2; }
|
||||
|
||||
# Sanity: tools
|
||||
for bin in curl jq python3; do
|
||||
+for bin in curl jq python; do
|
||||
command -v "$bin" >/dev/null 2>&1 || { err "Missing $bin"; exit 2; }
|
||||
done
|
||||
|
||||
|
||||
@@ -57,4 +57,4 @@ if [[ -n "${PRINT_RAW:-}" ]]; then
|
||||
esac
|
||||
fi
|
||||
|
||||
exec python3 /usr/local/bin/nats_registration_listener.py "${args[@]}"
|
||||
exec python /usr/local/bin/nats_registration_listener.py "${args[@]}"
|
||||
|
||||
Reference in New Issue
Block a user