mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
Fix an important metadata getObject bug in donut
This commit is contained in:
parent
81cc017f91
commit
3b070dee16
@ -135,7 +135,7 @@ func (b bucket) getBucketMetadata() (*AllBuckets, *probe.Error) {
|
|||||||
func (b bucket) GetObjectMetadata(objectName string) (ObjectMetadata, *probe.Error) {
|
func (b bucket) GetObjectMetadata(objectName string) (ObjectMetadata, *probe.Error) {
|
||||||
b.lock.Lock()
|
b.lock.Lock()
|
||||||
defer b.lock.Unlock()
|
defer b.lock.Unlock()
|
||||||
return b.readObjectMetadata(objectName)
|
return b.readObjectMetadata(normalizeObjectName(objectName))
|
||||||
}
|
}
|
||||||
|
|
||||||
// ListObjects - list all objects
|
// ListObjects - list all objects
|
||||||
|
Loading…
Reference in New Issue
Block a user