Change distributed server wording.

This commit is contained in:
Harshavardhana
2016-09-09 15:32:08 -07:00
parent eae0281c64
commit 43befab8ef
4 changed files with 29 additions and 6 deletions
+1 -1
View File
@@ -291,7 +291,7 @@ func (api objectAPIHandlers) DeleteMultipleObjectsHandler(w http.ResponseWriter,
deletedObjects = append(deletedObjects, object)
continue
}
if _, ok := err.(ObjectNotFound); ok {
if _, ok := errorCause(err).(ObjectNotFound); ok {
// If the object is not found it should be
// accounted as deleted as per S3 spec.
deletedObjects = append(deletedObjects, object)