summaryrefslogtreecommitdiffstats
path: root/modules/updatechecker
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2022-01-10 04:32:37 -0500
committerGitHub <noreply@github.com>2022-01-10 17:32:37 +0800
commit8c647bf0f6b19fe666c645ec16010d07bfe85a63 (patch)
treeeaa322e1244591b00a36b7d79ce416bd1bd932af /modules/updatechecker
parent242dddfcb7cfab1d21c1658828d94f603809a5c7 (diff)
downloadgitea-8c647bf0f6b19fe666c645ec16010d07bfe85a63.tar.gz
gitea-8c647bf0f6b19fe666c645ec16010d07bfe85a63.zip
Fix various typos (#18219)
Found via `codespell -q 3 -S ./options/locale,./vendor -L ba,pullrequest,pullrequests,readby,te,unknwon` Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'modules/updatechecker')
-rw-r--r--modules/updatechecker/update_checker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/updatechecker/update_checker.go b/modules/updatechecker/update_checker.go
index 149a8462f6..b144166ee9 100644
--- a/modules/updatechecker/update_checker.go
+++ b/modules/updatechecker/update_checker.go
@@ -68,7 +68,7 @@ func UpdateRemoteVersion(version string) (err error) {
return appstate.AppState.Set(&CheckerState{LatestVersion: version})
}
-// GetRemoteVersion returns the current remote version (or currently installed verson if fail to fetch from DB)
+// GetRemoteVersion returns the current remote version (or currently installed version if fail to fetch from DB)
func GetRemoteVersion() string {
item := new(CheckerState)
if err := appstate.AppState.Get(item); err != nil {