fixes for not needed fields in output

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca
2016-01-20 18:19:36 +01:00
parent f7ebea6972
commit 74a06ac414
3 changed files with 13 additions and 20 deletions

View File

@@ -145,7 +145,7 @@ func (mf *v1ManifestFetcher) fetchWithSession(ctx context.Context, askedTag stri
return nil, fmt.Errorf("No such image %s:%s", mf.repoInfo.FullName(), askedTag)
}
return makeImageInspect(mf.repoInfo, pulledImg, askedTag, tagList, ""), nil
return makeImageInspect(pulledImg, mf.repoInfo.Index.Name, askedTag, tagList), nil
}
func (mf *v1ManifestFetcher) pullImageJSON(imgID, endpoint string, token []string) (*image.Image, error) {