From 9654d59fc07677fcc00edf2995b322d101501c54 Mon Sep 17 00:00:00 2001 From: mr Date: Wed, 16 Oct 2024 17:15:21 +0200 Subject: [PATCH] exclude dest --- models/peer/peer_cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/peer/peer_cache.go b/models/peer/peer_cache.go index 42b0479..8e89f76 100644 --- a/models/peer/peer_cache.go +++ b/models/peer/peer_cache.go @@ -69,7 +69,7 @@ func (p *PeerCache) checkPeerStatus(peerID string, appName string, caller *tools if meth == "" { return res.(*Peer), false } - url := p.urlFormat(res.(*Peer).Url+meth, tools.PEER) // Format the URL + url := p.urlFormat(res.(*Peer).Url, tools.PEER) + meth // Format the URL fmt.Println("Checking peer status on", url, "...") state, services := api.CheckRemotePeer(url) // Check the status of the peer res.(*Peer).Services = services // Update the services states of the peer