fix: Remove the redundant log print content (#8651)

This commit is contained in:
ssongliu 2025-05-14 22:40:35 +08:00 committed by GitHub
parent 41b9087110
commit e2ce52f580
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -345,10 +345,6 @@ func (u *UpgradeService) loadVersion(isLatest bool, currentVersion, mode string)
return ""
}
num, _ := strconv.Atoi(versionPart[1])
if num == 0 {
global.LOG.Errorf("current version is error format: %s", currentVersion)
return ""
}
if num >= 10 {
if version, ok := versionMap[currentVersion[0:5]]; ok {
return u.checkVersion(version, currentVersion)