Skip to content

Commit b9946db

Browse files
authored
repair the error of version number display after successful update (#805)
1 parent 9eb650b commit b9946db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

service/system.go

+2
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ func (c *systemService) GetNet(physics bool) []string {
232232
}
233233

234234
func (s *systemService) UpdateSystemVersion(version string) {
235+
keyName := "casa_version"
236+
Cache.Delete(keyName)
235237
if file.Exists(config.AppInfo.LogPath + "/upgrade.log") {
236238
os.Remove(config.AppInfo.LogPath + "/upgrade.log")
237239
}

0 commit comments

Comments
 (0)