fix: update top results per peer
This commit is contained in:
parent
fcc5d08aa7
commit
6ee995298b
|
@ -656,6 +656,9 @@ func fnOrderByPeer(rq *Request) listPeer {
|
|||
v := peers[i]
|
||||
sort.Sort(v.Results)
|
||||
|
||||
|
||||
v.Name = v.Results[0].Name
|
||||
v.Country = v.Results[0].Country
|
||||
v.Latency = v.Results[0].Latency
|
||||
v.Jitter = v.Results[0].Jitter
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user