collector: fix typo in file.go (#2442)

Signed-off-by: Kaushambi Gujral <kaushambigujral@gmail.com>
This commit is contained in:
Kaushambi Gujral
2026-07-10 00:04:56 -07:00
committed by GitHub
parent b0ae52c46d
commit 1850f8f47e

View File

@@ -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),
)