Fix go vet error
This commit is contained in:
parent
62276d310f
commit
c0b2ce6bd8
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ func (e *Exporter) Collect(ch chan<- prometheus.Metric) {
|
|||
|
||||
if pool.ScrapeError != nil {
|
||||
ch <- prometheus.MustNewConstMetric(e.up, prometheus.GaugeValue, 0, pool.Name)
|
||||
log.Error("Error scraping PHP-FPM: %v", pool.ScrapeError)
|
||||
log.Errorf("Error scraping PHP-FPM: %v", pool.ScrapeError)
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue