simplify call to peer

This commit is contained in:
mr 2024-08-23 18:18:29 +02:00
parent fd730741a4
commit dd3570fa37

View File

@ -67,7 +67,7 @@ func (a *API) CheckRemotePeer(url string) (State, map[string]int) {
caller := NewHTTPCaller(map[string]map[METHOD]string{})
var resp APIStatusResponse
b, err := caller.CallPost(url, "/status", []string{})
fmt.Println("CheckRemotePeer", b, err)
fmt.Println("CheckRemotePeer", b, url, err)
if err != nil {
return DEAD, map[string]int{}
}