diff --git a/registry/session_v2.go b/registry/session_v2.go index ed8ce061e3..22f39317be 100644 --- a/registry/session_v2.go +++ b/registry/session_v2.go @@ -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