From 6724ff38fe8646e003cf9c540f0af260ad42e079 Mon Sep 17 00:00:00 2001 From: mr Date: Mon, 7 Oct 2024 12:02:33 +0200 Subject: [PATCH] missing datacenter resource --- tools/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }