fix: generic-ify mgmt API URL in run-clustered.sh
This commit is contained in:
parent
5d24e86a7e
commit
99e4c9005d
@ -1,10 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
notify () {
|
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"
|
notify "Cluster $NOMAD_ALLOC_INDEX starting"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user