use appropriate HTTP status for storage is full (#6117)

master
Harshavardhana 7 years ago committed by kannappanr
parent 6c85706c24
commit 80b3e9cb03
  1. 2
      cmd/api-errors.go

@ -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…
Cancel
Save