Fix typo in code comment (#16509)

This commit is contained in:
Kaan Kabalak 2023-01-30 18:24:19 -08:00 committed by GitHub
parent cea2ca8c8e
commit 2d0f30f062
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -280,7 +280,7 @@ func parseSignV4(v4Auth string, region string, stype serviceType) (sv signValues
signV4Values := signValues{} signV4Values := signValues{}
var s3Err APIErrorCode var s3Err APIErrorCode
// Save credentail values. // Save credential values.
signV4Values.Credential, s3Err = parseCredentialHeader(strings.TrimSpace(credElement), region, stype) signV4Values.Credential, s3Err = parseCredentialHeader(strings.TrimSpace(credElement), region, stype)
if s3Err != ErrNone { if s3Err != ErrNone {
return sv, s3Err return sv, s3Err