exclude dest
This commit is contained in:
parent
b432266486
commit
9654d59fc0
@ -69,7 +69,7 @@ func (p *PeerCache) checkPeerStatus(peerID string, appName string, caller *tools
|
|||||||
if meth == "" {
|
if meth == "" {
|
||||||
return res.(*Peer), false
|
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, "...")
|
fmt.Println("Checking peer status on", url, "...")
|
||||||
state, services := api.CheckRemotePeer(url) // Check the status of the peer
|
state, services := api.CheckRemotePeer(url) // Check the status of the peer
|
||||||
res.(*Peer).Services = services // Update the services states of the peer
|
res.(*Peer).Services = services // Update the services states of the peer
|
||||||
|
Loading…
Reference in New Issue
Block a user