From daa7303a82f2f91e7d655d0048fb6e744a486bf2 Mon Sep 17 00:00:00 2001 From: xinau Date: Thu, 12 Nov 2020 15:27:33 +0100 Subject: [PATCH] collector/filesystem: fixing logging message this change fixes the logging message for the filesystem ignored-fs-types flag to output the flag instead of the mountpoints flag. Signed-off-by: xinau --- collector/filesystem_common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/filesystem_common.go b/collector/filesystem_common.go index 7def2b99..2c5a3125 100644 --- a/collector/filesystem_common.go +++ b/collector/filesystem_common.go @@ -73,7 +73,7 @@ func NewFilesystemCollector(logger log.Logger) (Collector, error) { subsystem := "filesystem" level.Info(logger).Log("msg", "Parsed flag --collector.filesystem.ignored-mount-points", "flag", *ignoredMountPoints) mountPointPattern := regexp.MustCompile(*ignoredMountPoints) - level.Info(logger).Log("msg", "Parsed flag --collector.filesystem.ignored-fs-types", "flag", *ignoredMountPoints) + level.Info(logger).Log("msg", "Parsed flag --collector.filesystem.ignored-fs-types", "flag", *ignoredFSTypes) filesystemsTypesPattern := regexp.MustCompile(*ignoredFSTypes) sizeDesc := prometheus.NewDesc(