Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Commit

Permalink
bug: ok rather than fail
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcz committed Aug 13, 2022
1 parent 675f29b commit 56d27a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func (s *Scraper) scrape() {
bindCounter.WithLabelValues("fail").Inc()
return
}
bindCounter.WithLabelValues("fail").Inc()
bindCounter.WithLabelValues("ok").Inc()
}

scrapeRes := "ok"
Expand Down

0 comments on commit 56d27a9

Please sign in to comment.