use appropriate HTTP status for storage is full (#6117)
This commit is contained in:
parent
6c85706c24
commit
80b3e9cb03
|
@ -692,7 +692,7 @@ var errorCodeResponse = map[APIErrorCode]APIError{
|
|||
ErrStorageFull: {
|
||||
Code: "XMinioStorageFull",
|
||||
Description: "Storage backend has reached its minimum free disk threshold. Please delete a few objects to proceed.",
|
||||
HTTPStatusCode: http.StatusInternalServerError,
|
||||
HTTPStatusCode: http.StatusInsufficientStorage,
|
||||
},
|
||||
ErrRequestBodyParse: {
|
||||
Code: "XMinioRequestBodyParse",
|
||||
|
|
Loading…
Reference in a new issue