mirror of
https://gitea.com/gitea/gitea-mirror.git
synced 2026-03-20 11:50:27 +00:00
Fix some package registry problems (#34759)
1. Fix #33787 2. Fix container image display
This commit is contained in:
@@ -28,8 +28,7 @@ func NewContentStore() *ContentStore {
|
||||
return contentStore
|
||||
}
|
||||
|
||||
// Get gets a package blob
|
||||
func (s *ContentStore) Get(key BlobHash256Key) (storage.Object, error) {
|
||||
func (s *ContentStore) OpenBlob(key BlobHash256Key) (storage.Object, error) {
|
||||
return s.store.Open(KeyToRelativePath(key))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user