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 /internal/gitaly/storage/storagemgr/transaction_manager_hook_test.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 'internal/gitaly/storage/storagemgr/transaction_manager_hook_test.go')
-rw-r--r--internal/gitaly/storage/storagemgr/transaction_manager_hook_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/gitaly/storage/storagemgr/transaction_manager_hook_test.go b/internal/gitaly/storage/storagemgr/transaction_manager_hook_test.go
index c21df6497..63679547c 100644
--- a/internal/gitaly/storage/storagemgr/transaction_manager_hook_test.go
+++ b/internal/gitaly/storage/storagemgr/transaction_manager_hook_test.go
@@ -18,7 +18,7 @@ import (
// influence the execution of the test.
type hookFunc func(hookContext)
-// hookContext are the control toggels available in a hook.
+// hookContext are the control toggles available in a hook.
type hookContext struct {
// closeManager calls the calls Close on the TransactionManager.
closeManager func()
@@ -28,7 +28,7 @@ type hookContext struct {
}
// hooks are functions that get invoked at specific points of the TransactionManager Run method. They allow
-// for hooking into the Run method at specific poins which would otherwise to do assertions that would otherwise
+// for hooking into the Run method at specific points which would otherwise to do assertions that would otherwise
// not be possible.
type hooks struct {
// beforeReadLogEntry is invoked before a log entry is read from the database.