Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dwillcocks committed Apr 29, 2021
1 parent 90915a5 commit 39a8e32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dist/
.idea/
.DS_Store
5 changes: 1 addition & 4 deletions internal/exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,7 @@ func (e *Exporter) speedtest(testUUID string, ch chan<- prometheus.Metric) bool
ok = downloadTest(testUUID, user, server, ch) && ok
ok = uploadTest(testUUID, user, server, ch) && ok

if ok {
return true
}
return false
return ok
}

func pingTest(testUUID string, user *speedtest.User, server *speedtest.Server, ch chan<- prometheus.Metric) bool {
Expand Down

0 comments on commit 39a8e32

Please sign in to comment.