Add struct tags on v2 remote tags struct

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
Derek McGowan 2015-03-23 14:23:47 -07:00
parent 0e7650f958
commit 10128f6e8c

View file

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