mirror of
https://github.com/minio/minio.git
synced 2025-11-08 21:24:55 -05:00
run gofumpt cleanup across code-base (#14015)
This commit is contained in:
@@ -107,7 +107,6 @@ func parseCredentialHeader(credElement string, region string, stype serviceType)
|
||||
// Should validate region, only if region is set.
|
||||
if !isValidRegion(sRegion, region) {
|
||||
return ch, ErrAuthorizationHeaderMalformed
|
||||
|
||||
}
|
||||
if credElements[2] != string(stype) {
|
||||
switch stype {
|
||||
|
||||
Reference in New Issue
Block a user