fix typos [skip ci]
This commit is contained in:
1 parent
8109c9ccf1
commit
3dc5ddc168
2 files changed
+2
-2
No files matched your search
@@ -404,7 +404,7 @@ func (p *peerLog) uptime(start, end time.Time) (time.Duration, error) {
|
||||
p.start = start
|
||||
}
|
||||
|
||||
// If the online period ends before our range, shift the end
|
||||
// If the online period ends after our range, shift the end
|
||||
// time forward so that we only calculate uptime until the end
|
||||
// of the range.
|
||||
if p.end.After(end) {
|
||||
|
||||
Reference in new issue
Block a user