XL/ObjectCache: DeleteObject() should delete the object from the object cache. (#2113)

fixes #2103
master
Krishna Srinivas 8 years ago committed by Harshavardhana
parent 01cbacd803
commit 26b7d79a85
  1. 3
      xl-v1-object.go

@ -554,6 +554,9 @@ func (xl xlObjects) DeleteObject(bucket, object string) (err error) {
return toObjectErr(err, bucket, object)
}
// Delete from the cache.
xl.objCache.Delete(pathJoin(bucket, object))
// Success.
return nil
}

Loading…
Cancel
Save