Archived
all: A few more interesting linter fixes (#5502)
A couple of minor bugs and simplifications
This commit is contained in:
1 parent
0b2cabbc31
commit
9fd270d78e
20 files changed
+55
-68
No files matched your search
@@ -126,7 +126,7 @@ func refreshStats() {
|
||||
go func(rel *relay) {
|
||||
t0 := time.Now()
|
||||
stats := fetchStats(rel)
|
||||
duration := time.Now().Sub(t0).Seconds()
|
||||
duration := time.Since(t0).Seconds()
|
||||
result := "success"
|
||||
if stats == nil {
|
||||
result = "failed"
|
||||
|
||||
Reference in new issue
Block a user