Merge pull request #4077 from liubin/fix/use-manifestTagsPathSpec-all-tag-all

use manifestTagsPathSpec for listing all tags
This commit is contained in:
Milos Gajdos 2023-09-28 17:37:25 +01:00 committed by GitHub
commit 23083ac9d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {