mirror of
https://github.com/minio/minio.git
synced 2025-11-08 21:24:55 -05:00
Adding etag to headers
This commit is contained in:
@@ -150,3 +150,9 @@ func isValidBucket(bucket string) bool {
|
||||
}
|
||||
return valid
|
||||
}
|
||||
|
||||
func (storage *Storage) GetObjectMetadata(bucket, key string) mstorage.ObjectMetadata {
|
||||
objectKey := bucket + ":" + key
|
||||
|
||||
return storage.objectdata[objectKey].metadata
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user