Discovery Nats automate

This commit is contained in:
mr 2024-08-22 13:22:43 +02:00
parent b77d003238
commit e69e13d8da

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, "/peer/status", []string{})
b, err := caller.CallPost(url, "/status", []string{})
if err != nil {
return DEAD
}