From b9946db8542c9a73d9edfbb189c941fddd1d0811 Mon Sep 17 00:00:00 2001 From: link Date: Thu, 5 Jan 2023 15:16:54 +0800 Subject: [PATCH] repair the error of version number display after successful update (#805) --- service/system.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service/system.go b/service/system.go index bc3c076a6..19867453d 100644 --- a/service/system.go +++ b/service/system.go @@ -232,6 +232,8 @@ func (c *systemService) GetNet(physics bool) []string { } func (s *systemService) UpdateSystemVersion(version string) { + keyName := "casa_version" + Cache.Delete(keyName) if file.Exists(config.AppInfo.LogPath + "/upgrade.log") { os.Remove(config.AppInfo.LogPath + "/upgrade.log") }