Move to container/list datastructure from map[string][]byte

This commit is contained in:
Harshavardhana
2015-07-04 17:08:23 -07:00
parent d11dfe003c
commit bab4a47525
4 changed files with 71 additions and 104 deletions

View File

@@ -376,7 +376,7 @@ func (donut API) ListObjectParts(bucket, key string, resources ObjectResourcesMe
return objectResourcesMetadata, nil
}
func (donut API) expiredPart(a ...interface{}) {
func (donut API) evictedPart(a ...interface{}) {
key := a[0].(string)
// loop through all buckets
buckets := donut.storedBuckets.GetAll()