diff --git a/tools/api.go b/tools/api.go index d20b00a..70f7a2b 100644 --- a/tools/api.go +++ b/tools/api.go @@ -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 }