forked from TrueCloudLab/distribution
Merge pull request #4077 from liubin/fix/use-manifestTagsPathSpec-all-tag-all
use manifestTagsPathSpec for listing all tags
This commit is contained in:
commit
23083ac9d2
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue