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/streamcache | |
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/streamcache')
-rw-r--r-- | internal/streamcache/cache.go | 2 | ||||
-rw-r--r-- | internal/streamcache/min_occurrences.go (renamed from internal/streamcache/min_occurences.go) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/internal/streamcache/cache.go b/internal/streamcache/cache.go index ad365c2f6..094dfec93 100644 --- a/internal/streamcache/cache.go +++ b/internal/streamcache/cache.go @@ -298,7 +298,7 @@ func (c *cache) newEntry(key string, create func(io.Writer) error) (_ io.ReadClo // Every entry gets a unique underlying file. We do not want to reuse // existing cache files because we do not know whether they are the - // result of a succesfull call to create. + // result of a successful call to create. // // This may sound like we should be using an anonymous tempfile, but that // would be at odds with the requirement to be able to open and close diff --git a/internal/streamcache/min_occurences.go b/internal/streamcache/min_occurrences.go index d48e37e95..d48e37e95 100644 --- a/internal/streamcache/min_occurences.go +++ b/internal/streamcache/min_occurrences.go |