Skip to content

Commit

Permalink
Rename latency_ms to latency in getPeers response since it isn'…
Browse files Browse the repository at this point in the history
…t even milliseconds anymore
  • Loading branch information
neilalexander committed Dec 18, 2024
1 parent 22bc9c4 commit 1fbcf3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/admin/getpeers.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type PeerEntry struct {
RXRate DataUnit `json:"rate_recvd,omitempty"`
TXRate DataUnit `json:"rate_sent,omitempty"`
Uptime float64 `json:"uptime,omitempty"`
Latency time.Duration `json:"latency_ms,omitempty"`
Latency time.Duration `json:"latency,omitempty"`
LastErrorTime time.Duration `json:"last_error_time,omitempty"`
LastError string `json:"last_error,omitempty"`
}
Expand Down

0 comments on commit 1fbcf3b

Please sign in to comment.