From d29d6d1991496cc688e9418db4960ca945fd9d6b Mon Sep 17 00:00:00 2001 From: luzpaz Date: Tue, 12 Jul 2022 17:32:37 -0400 Subject: Fix various typos (#20338) * Fix various typos Found via `codespell -q 3 -S ./options/locale,./options/license,./public/vendor -L actived,allways,attachements,ba,befores,commiter,pullrequest,pullrequests,readby,splitted,te,unknwon` Co-authored-by: zeripath --- models/db/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/db/context.go') diff --git a/models/db/context.go b/models/db/context.go index 783033c0e0..4fd35200cf 100644 --- a/models/db/context.go +++ b/models/db/context.go @@ -100,7 +100,7 @@ func TxContext() (*Context, Committer, error) { } // WithTx represents executing database operations on a transaction -// you can optionally change the context to a parrent one +// you can optionally change the context to a parent one func WithTx(f func(ctx context.Context) error, stdCtx ...context.Context) error { parentCtx := DefaultContext if len(stdCtx) != 0 && stdCtx[0] != nil { -- cgit v1.2.3