fix: Fixed staticcheck error

This commit is contained in:
jonaustin09
2023-07-06 19:14:01 +04:00
parent 0330685c5c
commit a10729b3ff
+2 -2
View File
@@ -51,8 +51,8 @@ func VerifyV4Signature(root RootUserConfig, iam auth.IAMService, region string,
// Check the signature version
authParts := strings.Split(authorization, ",")
for _, el := range authParts {
el = strings.TrimSpace(el)
for i, el := range authParts {
authParts[i] = strings.TrimSpace(el)
}
if len(authParts) != 3 {