journeymidnight / yig

An open source object storage server with Amazon S3 compatible API
Apache License 2.0
360 stars 86 forks source link

meta.GetObjectMap code bug #313

Open dovefi opened 3 years ago

dovefi commented 3 years ago

Describe the bug file meta/object.go:49

func (m *Meta) GetObjectMap(bucketName, objectName string) (objMap *ObjMap, err error) {
    m.Client.GetObjectMap(bucketName, objectName)
    return
}

should be

func (m *Meta) GetObjectMap(bucketName, objectName string) (objMap *ObjMap, err error) {
    return m.Client.GetObjectMap(bucketName, objectName)
}

]