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>
This commit is contained in:
parent
3fc1216dc3
commit
6c724a1a95
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue