summaryrefslogtreecommitdiffstats
path: root/modules/process
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/process
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/process')
-rw-r--r--modules/process/manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/process/manager.go b/modules/process/manager.go
index 10a89d04dd..7cde9f9451 100644
--- a/modules/process/manager.go
+++ b/modules/process/manager.go
@@ -79,7 +79,7 @@ func (pm *Manager) AddContext(parent context.Context, description string) (ctx c
}
// AddContextTimeout creates a new context and add it as a process. Once the process is finished, finished must be called
-// to remove the process from the process table. It should not be called until the process is finsihed but must always be called.
+// to remove the process from the process table. It should not be called until the process is finished but must always be called.
//
// cancel should be used to cancel the returned context, however it will not remove the process from the process table.
// finished will cancel the returned context and remove it from the process table.