mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
fix: sts to return appropriate errors (#9161)
This commit is contained in:
@@ -151,7 +151,7 @@ func TestParseCredentialHeader(t *testing.T) {
|
||||
"ABCD",
|
||||
"ABCD"),
|
||||
expectedCredentials: credentialHeader{},
|
||||
expectedErrCode: ErrInvalidService,
|
||||
expectedErrCode: ErrInvalidServiceS3,
|
||||
},
|
||||
// Test Case - 7.
|
||||
// Test case with invalid region.
|
||||
|
||||
Reference in New Issue
Block a user