mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-24 05:36:36 +00:00
iis: fix typo in error message: os -> iis
This commit is contained in:
@@ -191,7 +191,7 @@ func NewIISCollector() *IISCollector {
|
|||||||
// to the provided prometheus Metric channel.
|
// to the provided prometheus Metric channel.
|
||||||
func (c *IISCollector) Collect(ch chan<- prometheus.Metric) {
|
func (c *IISCollector) Collect(ch chan<- prometheus.Metric) {
|
||||||
if desc, err := c.collect(ch); err != nil {
|
if desc, err := c.collect(ch); err != nil {
|
||||||
log.Println("[ERROR] failed collecting os metrics:", desc, err)
|
log.Println("[ERROR] failed collecting iis metrics:", desc, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user