Vendor after merging mtrmac/image:x-registry-supports-signatures

This commit is contained in:
Miloslav Trmač
2017-03-25 09:02:47 +01:00
parent ba22d17d1f
commit 593bdfe098
4 changed files with 249 additions and 54 deletions

View File

@@ -40,8 +40,8 @@ func (i *Image) SourceRefFullName() string {
// GetRepositoryTags list all tags available in the repository. Note that this has no connection with the tag(s) used for this specific image, if any.
func (i *Image) GetRepositoryTags() ([]string, error) {
url := fmt.Sprintf(tagsURL, reference.Path(i.src.ref.ref))
res, err := i.src.c.makeRequest("GET", url, nil, nil)
path := fmt.Sprintf(tagsPath, reference.Path(i.src.ref.ref))
res, err := i.src.c.makeRequest("GET", path, nil, nil)
if err != nil {
return nil, err
}