Skip to content

Commit

Permalink
repair the error of version number display after successful update (I…
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkLeong authored Jan 5, 2023
1 parent 9eb650b commit b9946db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions service/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit b9946db

Please sign in to comment.