use manifestTagsPathSpec for listing all tags

In terms of results, a`manifestTagsPathSpec{ name: "repo" }` equals
`manifestTagPathSpec{ name: "repo", tag: "" }`, but from the intention,
the `manifestTagsPathSpec` should be used.

Signed-off-by: bin liu <liubin0329@gmail.com>
tcl/master
bin liu 2023-09-28 10:44:34 +08:00
parent 3fc1216dc3
commit 6c724a1a95
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ type tagStore struct {
// All returns all tags
func (ts *tagStore) All(ctx context.Context) ([]string, error) {
pathSpec, err := pathFor(manifestTagPathSpec{
pathSpec, err := pathFor(manifestTagsPathSpec{
name: ts.repository.Named().Name(),
})
if err != nil {