mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-10 07:26:35 +08:00
fix: Remove the redundant log print content (#8651)
This commit is contained in:
parent
41b9087110
commit
e2ce52f580
1 changed files with 0 additions and 4 deletions
|
@ -345,10 +345,6 @@ func (u *UpgradeService) loadVersion(isLatest bool, currentVersion, mode string)
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
num, _ := strconv.Atoi(versionPart[1])
|
num, _ := strconv.Atoi(versionPart[1])
|
||||||
if num == 0 {
|
|
||||||
global.LOG.Errorf("current version is error format: %s", currentVersion)
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
if num >= 10 {
|
if num >= 10 {
|
||||||
if version, ok := versionMap[currentVersion[0:5]]; ok {
|
if version, ok := versionMap[currentVersion[0:5]]; ok {
|
||||||
return u.checkVersion(version, currentVersion)
|
return u.checkVersion(version, currentVersion)
|
||||||
|
|
Loading…
Add table
Reference in a new issue