refactor: rename Deserialize to MapUnmarshalValidate

This commit is contained in:
yusing
2025-04-29 01:29:02 +08:00
parent 0b69589586
commit 7aa1215491
15 changed files with 31 additions and 31 deletions

View File

@@ -178,7 +178,7 @@ func (c *Container) loadDeleteIdlewatcherLabels(helper containerHelper) {
ContainerName: c.ContainerName,
},
}
err := utils.Deserialize(cfg, idwCfg)
err := utils.MapUnmarshalValidate(cfg, idwCfg)
if err != nil {
gperr.LogWarn("invalid idlewatcher config", gperr.PrependSubject(c.ContainerName, err))
} else {