xl/fs: Return InvalidPart{} error for part ETag mismatch. (#4541)

Fixes #4539
This commit is contained in:
Harshavardhana
2017-06-17 11:20:39 -07:00
committed by GitHub
parent e99244be02
commit a86c2e2ce1
6 changed files with 6 additions and 6 deletions

View File

@@ -317,7 +317,7 @@ var errorCodeResponse = map[APIErrorCode]APIError{
},
ErrInvalidPart: {
Code: "InvalidPart",
Description: "One or more of the specified parts could not be found.",
Description: "One or more of the specified parts could not be found. The part may not have been uploaded, or the specified entity tag may not match the part's entity tag.",
HTTPStatusCode: http.StatusBadRequest,
},
ErrInvalidPartOrder: {