From 3b070dee169001e58cc3fa3cf7760358d2123764 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Thu, 1 Oct 2015 10:16:14 -0700 Subject: [PATCH] Fix an important metadata getObject bug in donut --- pkg/donut/bucket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/donut/bucket.go b/pkg/donut/bucket.go index cae76163e..4d29e1279 100644 --- a/pkg/donut/bucket.go +++ b/pkg/donut/bucket.go @@ -135,7 +135,7 @@ func (b bucket) getBucketMetadata() (*AllBuckets, *probe.Error) { func (b bucket) GetObjectMetadata(objectName string) (ObjectMetadata, *probe.Error) { b.lock.Lock() defer b.lock.Unlock() - return b.readObjectMetadata(objectName) + return b.readObjectMetadata(normalizeObjectName(objectName)) } // ListObjects - list all objects