Update for removal of requestedMIMETypes from containers/image/types.ImageReference.NewImageSource()

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
This commit is contained in:
Owen W. Taylor
2017-08-31 14:47:35 -04:00
parent 5faf7d8001
commit 035fc3a817
18 changed files with 49 additions and 106 deletions

View File

@@ -23,7 +23,7 @@ type Image struct {
// a client to the registry hosting the given image.
// The caller must call .Close() on the returned Image.
func newImage(ctx *types.SystemContext, ref dockerReference) (types.Image, error) {
s, err := newImageSource(ctx, ref, nil)
s, err := newImageSource(ctx, ref)
if err != nil {
return nil, err
}