This commit is contained in:
Liang Ding 2022-11-06 22:53:09 +08:00
parent c2bba8f72a
commit 133d49036f
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -118,6 +118,13 @@ func getUpdatePkg() (downloadPkgURLs []string, checksum string, err error) {
return
}
logging.LogInfof("rhy result [%+v]", result)
if nil == result["checksums"] {
logging.LogWarnf("get update pkg checksums failed")
return
}
ver := result["ver"].(string)
if isVersionUpToDate(ver) {
return