fix: sts to return appropriate errors (#9161)

This commit is contained in:
Harshavardhana
2020-03-18 17:25:45 -07:00
committed by GitHub
parent 5b9342d35c
commit 09d35d3b4c
5 changed files with 25 additions and 18 deletions

View File

@@ -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.