diff --git a/tools/api.go b/tools/api.go index 1b4a9b2..479f3ca 100644 --- a/tools/api.go +++ b/tools/api.go @@ -75,7 +75,7 @@ func (a *API) CheckRemotePeer(url string) (State, map[string]int) { // Check if the database is up caller := NewHTTPCaller(map[DataType]map[METHOD]string{}) // Create a new http caller var resp APIStatusResponse - b, err := caller.CallPost(url, "/status", map[string]interface{}{}) // Call the status endpoint of the peer + b, err := caller.CallPost(url, "", map[string]interface{}{}) // Call the status endpoint of the peer if err != nil { return DEAD, map[string]int{} // If the peer is not reachable, return dead }