mirror of
https://github.com/minio/minio.git
synced 2025-01-12 15:33:22 -05:00
XL/ObjectCache: DeleteObject() should delete the object from the object cache. (#2113)
fixes #2103
This commit is contained in:
parent
01cbacd803
commit
26b7d79a85
@ -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…
Reference in New Issue
Block a user