From 8a10ea1f6af26883acbb1a95801a3ef457bb120a Mon Sep 17 00:00:00 2001 From: Michail Safronov Date: Fri, 31 May 2024 16:02:36 +0500 Subject: [PATCH] Fix logged type for parse metric in index uploader --- uploader/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uploader/index.go b/uploader/index.go index 1a70a8ca..a926a6d2 100644 --- a/uploader/index.go +++ b/uploader/index.go @@ -204,7 +204,7 @@ LineLoop: err = u.parseName(name, reverseName, treeDate, days, version, u.config.DisableDailyIndex, indexBuf) if err != nil { u.logger.Warn("parse", - zap.String("metric", nameStr), zap.String("type", "tagged"), zap.String("name", filename), zap.Error(err), + zap.String("metric", nameStr), zap.String("type", "index"), zap.String("name", filename), zap.Error(err), ) continue LineLoop }