mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #11666 from dmcgowan/fix-v2-get-all-tags
Fix v2 get all tags (carrying 11334)
This commit is contained in:
commit
f7af5b0a84
1 changed files with 3 additions and 3 deletions
|
@ -352,8 +352,8 @@ func (r *Session) PutV2ImageManifest(ep *Endpoint, imageName, tagName string, si
|
|||
}
|
||||
|
||||
type remoteTags struct {
|
||||
name string
|
||||
tags []string
|
||||
Name string `json:"name"`
|
||||
Tags []string `json:"tags"`
|
||||
}
|
||||
|
||||
// Given a repository name, returns a json array of string tags
|
||||
|
@ -393,5 +393,5 @@ func (r *Session) GetV2RemoteTags(ep *Endpoint, imageName string, auth *RequestA
|
|||
if err != nil {
|
||||
return nil, fmt.Errorf("Error while decoding the http response: %s", err)
|
||||
}
|
||||
return remote.tags, nil
|
||||
return remote.Tags, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue