vendor: update c/image to handle text/plain from registries
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
6de90e046a
commit
d551ef4523
10 changed files with 241 additions and 47 deletions
4
vendor/github.com/containers/image/storage/storage_reference.go
generated
vendored
4
vendor/github.com/containers/image/storage/storage_reference.go
generated
vendored
|
@ -71,8 +71,8 @@ func (s *storageReference) resolveImage() (*storage.Image, error) {
|
|||
}
|
||||
}
|
||||
if s.id == "" {
|
||||
logrus.Errorf("reference %q does not resolve to an image ID", s.StringWithinTransport())
|
||||
return nil, ErrNoSuchImage
|
||||
logrus.Debugf("reference %q does not resolve to an image ID", s.StringWithinTransport())
|
||||
return nil, errors.Wrapf(ErrNoSuchImage, "reference %q does not resolve to an image ID", s.StringWithinTransport())
|
||||
}
|
||||
img, err := s.transport.store.Image(s.id)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue