diff options
Diffstat (limited to 'internal/gitaly/service/objectpool')
-rw-r--r-- | internal/gitaly/service/objectpool/create.go | 2 | ||||
-rw-r--r-- | internal/gitaly/service/objectpool/fetch_into_object_pool_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/gitaly/service/objectpool/create.go b/internal/gitaly/service/objectpool/create.go index 29691d41f..53d52cdc8 100644 --- a/internal/gitaly/service/objectpool/create.go +++ b/internal/gitaly/service/objectpool/create.go @@ -32,7 +32,7 @@ func (s *server) CreateObjectPool(ctx context.Context, in *gitalypb.CreateObject // repoutil.Create creates the repositories in a temporary directory. This means the repository is not created in the location // expected by the transaction manager. This makes sense without transactions, but with transactions, there's no real point in // doing so given a failed transaction's state is anyway removed. Creating the repository in a temporary directory is problematic - // as the reference transcation hook is invoked for the repository from unexpected location, causing the transaction to fail to + // as the reference transaction hook is invoked for the repository from unexpected location, causing the transaction to fail to // associate the reference updates with the repository. // // Run the repository creation without the transaction in the context. The transactions reads the created repository's state from diff --git a/internal/gitaly/service/objectpool/fetch_into_object_pool_test.go b/internal/gitaly/service/objectpool/fetch_into_object_pool_test.go index 4e1a5343e..574e3b596 100644 --- a/internal/gitaly/service/objectpool/fetch_into_object_pool_test.go +++ b/internal/gitaly/service/objectpool/fetch_into_object_pool_test.go @@ -125,7 +125,7 @@ func TestFetchIntoObjectPool_transactional(t *testing.T) { poolProto, pool, poolPath := createObjectPool(t, ctx, cfg, repo) - // Inject transaction information so that FetchInotObjectPool knows to perform + // Inject transaction information so that FetchIntoObjectPool knows to perform // transactional voting. ctx, err = txinfo.InjectTransaction(peer.NewContext(ctx, &peer.Peer{}), 1, "node", true) require.NoError(t, err) |