From 99e4c9005d3910bb227a0557345e11c250ae0469 Mon Sep 17 00:00:00 2001 From: spiral Date: Wed, 20 Apr 2022 10:44:43 -0400 Subject: [PATCH] fix: generic-ify mgmt API URL in run-clustered.sh --- scripts/run-clustered.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/run-clustered.sh b/scripts/run-clustered.sh index 24150c1c..b8d458e6 100755 --- a/scripts/run-clustered.sh +++ b/scripts/run-clustered.sh @@ -1,10 +1,10 @@ #!/bin/sh notify () { - curl http://172.17.0.1:8081/notify -d "$1" + curl $MGMT/notify -d "$1" } -curl http://172.17.0.1:8081/config > pluralkit.conf +curl $MGMT/config > pluralkit.conf notify "Cluster $NOMAD_ALLOC_INDEX starting"