fix: some flyby typos in the code (#19212)

Signed-off-by: thirdkeyword <fliterdashen@gmail.com>
This commit is contained in:
huajin tong
2024-03-11 05:09:36 +08:00
committed by GitHub
parent b2c5b75efa
commit a25a8312d8
3 changed files with 5 additions and 5 deletions

View File

@@ -389,7 +389,7 @@ func parse(s string, strict bool) (ETag, error) {
// An S3 ETag may be a multipart ETag that
// contains a '-' followed by a number.
// If the ETag does not a '-' is is either
// If the ETag does not a '-' is either
// a singlepart or encrypted ETag.
n := strings.IndexRune(s, '-')
if n == -1 {