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/helper/env/env.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/helper/env/env.go')
-rw-r--r-- | internal/helper/env/env.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/helper/env/env.go b/internal/helper/env/env.go index 92173d335..f8efa6bab 100644 --- a/internal/helper/env/env.go +++ b/internal/helper/env/env.go @@ -67,7 +67,7 @@ func GetString(name string, fallback string) string { } // ExtractValue returns the value of the environment variable with the given key. The given key -// should not have a trailing "=". If the same key occurrs multiple times in the environment, then +// should not have a trailing "=". If the same key occurs multiple times in the environment, then // any later occurrences will override previous ones. func ExtractValue(environment []string, key string) string { var value string |