Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXing Xin <xingxin.xx@bytedance.com>2024-01-02 06:10:48 +0300
committerWill Chandler <wchandler@gitlab.com>2024-01-17 22:12:43 +0300
commit36339ff6300a2cc727441aa897e2793bd2fcd98a (patch)
tree85abb862a6a39219643585785869aa626964cffb /cmd/gitaly-hooks/hooks.go
parent2f1b99e352ec5c4e270e7ecb9e4234244bf37dee (diff)
fix: Fix a collection of typos found by typos-cli
Fix typos found by typos-cli(https://github.com/crate-ci/typos). Some affected tests are adjusted. There are a bunch of other typos are ignored, including * CHANGELOG.md * NOTICE * internal/.../migrations/20201208163237_cleanup_notifications_payload.go * other intended typos or false positives Signed-off-by: Xing Xin <xingxin.xx@bytedance.com>
Diffstat (limited to 'cmd/gitaly-hooks/hooks.go')
-rw-r--r--cmd/gitaly-hooks/hooks.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gitaly-hooks/hooks.go b/cmd/gitaly-hooks/hooks.go
index cb10dfae9..a22fe8bea 100644
--- a/cmd/gitaly-hooks/hooks.go
+++ b/cmd/gitaly-hooks/hooks.go
@@ -429,7 +429,7 @@ func packObjectsHook(ctx context.Context, payload git.HooksPayload, hookClient g
return hookError{returnCode: 1, err: fmt.Errorf("RPC failed: SetupSidechannel: %w", err)}
}
defer func() {
- // We aleady check the error further down.
+ // We already check the error further down.
_ = wt.Close()
}()