mirror of
https://github.com/minio/minio.git
synced 2025-01-24 13:13:16 -05:00
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…
x
Reference in New Issue
Block a user