Discovery Nats automate

This commit is contained in:
mr 2024-08-22 13:21:37 +02:00
parent c1371bc35c
commit b77d003238

View File

@ -60,7 +60,7 @@ func (a *API) CheckRemotePeer(url string) State {
// Check if the database is up
caller := NewHTTPCaller(map[string]map[METHOD]string{})
var resp APIStatusResponse
b, err := caller.CallPost(url, "/status", []string{})
b, err := caller.CallPost(url, "/peer/status", []string{})
if err != nil {
return DEAD
}