mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
support multiple policies for temporary users (#9550)
This commit is contained in:
@@ -1649,7 +1649,7 @@ func toAPIErrorCode(ctx context.Context, err error) (apiErr APIErrorCode) {
|
||||
if err == nil {
|
||||
return ErrNone
|
||||
}
|
||||
// Verify if the underlying error is signature mismatch.
|
||||
|
||||
switch err {
|
||||
case errInvalidArgument:
|
||||
apiErr = ErrAdminInvalidArgument
|
||||
|
||||
Reference in New Issue
Block a user