27 lines
951 B
Diff
27 lines
951 B
Diff
From 38ed69d2ad089d124ee72a4431fcc96ef3d9cf28 Mon Sep 17 00:00:00 2001
|
|
From: Yuhang Wei <weiyuhang3@huawei.com>
|
|
Date: Thu, 10 Aug 2023 21:10:29 +0800
|
|
Subject: [PATCH 08/17] KubeOS: modify log level and content
|
|
|
|
Signed-off-by: Yuhang Wei <weiyuhang3@huawei.com>
|
|
---
|
|
cmd/agent/server/config.go | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/cmd/agent/server/config.go b/cmd/agent/server/config.go
|
|
index 78dfd01..c474f59 100644
|
|
--- a/cmd/agent/server/config.go
|
|
+++ b/cmd/agent/server/config.go
|
|
@@ -57,7 +57,7 @@ func (k KernelSysctl) SetConfig(config *agent.SysConfig) error {
|
|
}
|
|
logrus.Infof("Configured kernel.sysctl %s=%s", key, keyInfo.Value)
|
|
} else {
|
|
- logrus.Errorf("Failed to parse kernel.sysctl config operation %s value %s", keyInfo.Operation, keyInfo.Value)
|
|
+ logrus.Warnf("Failed to parse kernel.sysctl key %s value %s operation %s", key, keyInfo.Value, keyInfo.Operation)
|
|
}
|
|
}
|
|
return nil
|
|
--
|
|
2.39.0
|
|
|