mirror of
https://github.com/minio/minio.git
synced 2025-11-10 22:10:12 -05:00
committed by
Harshavardhana
parent
37cbcae6ba
commit
9358ee011b
@@ -572,6 +572,7 @@ func toAPIErrorCode(err error) (apiErr APIErrorCode) {
|
||||
if err == nil {
|
||||
return ErrNone
|
||||
}
|
||||
err = errorCause(err)
|
||||
// Verify if the underlying error is signature mismatch.
|
||||
switch err {
|
||||
case errSignatureMismatch:
|
||||
|
||||
Reference in New Issue
Block a user