mirror of
https://github.com/minio/minio.git
synced 2025-11-10 22:10:12 -05:00
@@ -1810,7 +1810,7 @@ func toAPIError(ctx context.Context, err error) APIError {
|
||||
}
|
||||
case tagging.Error:
|
||||
apiErr = APIError{
|
||||
Code: "InvalidTag",
|
||||
Code: e.Code(),
|
||||
Description: e.Error(),
|
||||
HTTPStatusCode: http.StatusBadRequest,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user