diff options
author | Xing Xin <xingxin.xx@bytedance.com> | 2024-01-02 06:10:48 +0300 |
---|---|---|
committer | Will Chandler <wchandler@gitlab.com> | 2024-01-17 22:12:43 +0300 |
commit | 36339ff6300a2cc727441aa897e2793bd2fcd98a (patch) | |
tree | 85abb862a6a39219643585785869aa626964cffb /internal/praefect/coordinator.go | |
parent | 2f1b99e352ec5c4e270e7ecb9e4234244bf37dee (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/praefect/coordinator.go')
-rw-r--r-- | internal/praefect/coordinator.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/praefect/coordinator.go b/internal/praefect/coordinator.go index 7ada12e4a..03f9e0df2 100644 --- a/internal/praefect/coordinator.go +++ b/internal/praefect/coordinator.go @@ -618,7 +618,7 @@ func streamParametersContext(ctx context.Context) context.Context { // world view of which features are enabled and which ones aren't and ideally do the same // thing. // - // This problem isn't solveable on Gitaly side, but Praefect is in a perfect position to do + // This problem isn't solvable on Gitaly side, but Praefect is in a perfect position to do // so. While it may have the same problem in a load-balanced multi-Praefect setup, this is // much less of a problem: the most important thing is that the view on feature flags is // consistent for a single RPC call, and that will always be the case regardless of which @@ -1141,7 +1141,7 @@ func (c *Coordinator) newRequestFinalizer( } // The cancellation signal is suppressed earlier in the function, so we'd return no error if the - // orignal context exceeded its deadline while running the request finalizer. If there were + // original context exceeded its deadline while running the request finalizer. If there were // no other errors, return the possible error from the context so we don't return OK code for // failed requests. return originalCtx.Err() |