From d13d4eb93d656595dfb822ce0bb8cc57f6e25c12 Mon Sep 17 00:00:00 2001 From: Takuka0311 <1914426213@qq.com> Date: Tue, 10 Dec 2024 09:36:26 +0800 Subject: [PATCH] fix lint --- pkg/logger/logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/logger/logger.go b/pkg/logger/logger.go index b778daff60..03074abc80 100644 --- a/pkg/logger/logger.go +++ b/pkg/logger/logger.go @@ -125,7 +125,7 @@ func initNormalLogger() { } confDir := config.LoongcollectorGlobalConfig.LoongcollectorConfDir if _, err := os.Stat(confDir); os.IsNotExist(err) { - os.MkdirAll(confDir, os.ModePerm) + _ = os.MkdirAll(confDir, os.ModePerm) } setLogConf(path.Join(confDir, "plugin_logger.xml")) }