mirror of
https://github.com/containers/podman.git
synced 2025-07-15 03:02:52 +08:00
update c/common to latest
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/common/libimage/inspect.go
generated
vendored
2
vendor/github.com/containers/common/libimage/inspect.go
generated
vendored
@ -128,7 +128,7 @@ func (i *Image) Inspect(ctx context.Context, options *InspectOptions) (*ImageDat
|
||||
Config: &ociImage.Config,
|
||||
Version: info.DockerVersion,
|
||||
Size: size,
|
||||
VirtualSize: size, // TODO: they should be different (inherited from Podman)
|
||||
VirtualSize: size, // NOTE: same as size. Inherited from Docker where it's scheduled for deprecation.
|
||||
Digest: i.Digest(),
|
||||
Labels: info.Labels,
|
||||
RootFS: &RootFS{
|
||||
|
3
vendor/github.com/containers/common/libimage/pull.go
generated
vendored
3
vendor/github.com/containers/common/libimage/pull.go
generated
vendored
@ -533,9 +533,6 @@ func (r *Runtime) copySingleImageFromRegistry(ctx context.Context, imageName str
|
||||
sys := r.systemContextCopy()
|
||||
resolved, err := shortnames.Resolve(sys, imageName)
|
||||
if err != nil {
|
||||
// TODO: that is a too big of a hammer since we should only
|
||||
// ignore errors that indicate that there's no alias and no
|
||||
// USRs. Must be addressed in c/image first.
|
||||
if localImage != nil && pullPolicy == config.PullPolicyNewer {
|
||||
return []string{resolvedImageName}, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user