Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
Correct a typo in haproxy_exporter.go (#191)
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Yan <felixonmars@archlinux.org>
  • Loading branch information
felixonmars authored Aug 18, 2020
1 parent fd9c556 commit 5fa63c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haproxy_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ func (e *Exporter) scrape(ch chan<- prometheus.Metric) (up float64) {

info, err := e.parseInfo(infoReader)
if err != nil {
level.Debug(e.logger).Log("msg", "Faild parsing show info", "err", err)
level.Debug(e.logger).Log("msg", "Failed parsing show info", "err", err)
} else {
ch <- prometheus.MustNewConstMetric(haproxyInfo, prometheus.GaugeValue, 1, info.ReleaseDate, info.Version)
}
Expand Down

0 comments on commit 5fa63c5

Please sign in to comment.