mirror of
https://github.com/pgsty/minio.git
synced 2026-07-24 06:26:17 +03: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