mirror of
https://github.com/distribution/distribution.git
synced 2025-09-14 06:09:00 +00:00
Merge pull request #4077 from liubin/fix/use-manifestTagsPathSpec-all-tag-all
use manifestTagsPathSpec for listing all tags
This commit is contained in:
@@ -24,7 +24,7 @@ type tagStore struct {
|
|||||||
|
|
||||||
// All returns all tags
|
// All returns all tags
|
||||||
func (ts *tagStore) All(ctx context.Context) ([]string, error) {
|
func (ts *tagStore) All(ctx context.Context) ([]string, error) {
|
||||||
pathSpec, err := pathFor(manifestTagPathSpec{
|
pathSpec, err := pathFor(manifestTagsPathSpec{
|
||||||
name: ts.repository.Named().Name(),
|
name: ts.repository.Named().Name(),
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user