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:
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.