mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-09-01 03:31:25 +02:00
collector: fix typo in file.go (#2442)
Signed-off-by: Kaushambi Gujral <kaushambigujral@gmail.com>
This commit is contained in:
@@ -169,7 +169,7 @@ func (c *Collector) collectGlobFilePath(ch chan<- prometheus.Metric, filePattern
|
||||
|
||||
fileInfo, err := os.Stat(filePath)
|
||||
if err != nil {
|
||||
c.logger.Warn("failed to state file",
|
||||
c.logger.Warn("failed to stat file",
|
||||
slog.String("file", filePath),
|
||||
slog.Any("err", err),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user