时钟同步错误提示改成警告

This commit is contained in:
GoEdgeLab
2022-09-25 09:40:28 +08:00
parent 081aae79b5
commit d886adcc62

View File

@@ -31,7 +31,7 @@ func init() {
goman.New(func() {
err := sharedClockManager.Sync()
if err != nil {
remotelogs.Error("CLOCK", "sync clock failed: "+err.Error())
remotelogs.Warn("CLOCK", "sync clock failed: "+err.Error())
}
})
}
@@ -51,7 +51,7 @@ func (this *ClockManager) Start() {
for range ticker.C {
err := this.Sync()
if err != nil {
remotelogs.Error("CLOCK", "sync clock failed: "+err.Error())
remotelogs.Warn("CLOCK", "sync clock failed: "+err.Error())
}
}
}