mirror of
https://github.com/containers/podman.git
synced 2025-09-28 09:15:26 +08:00
Bump Buildah to v1.14.7
As the title says, bumping Buildah to v1.14.7 Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
This commit is contained in:
6
vendor/github.com/containers/buildah/new.go
generated
vendored
6
vendor/github.com/containers/buildah/new.go
generated
vendored
@ -196,7 +196,7 @@ func resolveImage(ctx context.Context, systemContext *types.SystemContext, store
|
||||
logrus.Debugf("no such image %q: %v", transports.ImageName(ref), err)
|
||||
failures = append(failures, failure{
|
||||
resolvedImageName: image,
|
||||
err: fmt.Errorf("no such image %q", transports.ImageName(ref)),
|
||||
err: errors.Errorf("no such image %q", transports.ImageName(ref)),
|
||||
})
|
||||
continue
|
||||
}
|
||||
@ -212,7 +212,7 @@ func resolveImage(ctx context.Context, systemContext *types.SystemContext, store
|
||||
}
|
||||
|
||||
if len(failures) != len(candidates) {
|
||||
return nil, "", nil, fmt.Errorf("internal error: %d candidates (%#v) vs. %d failures (%#v)", len(candidates), candidates, len(failures), failures)
|
||||
return nil, "", nil, errors.Errorf("internal error: %d candidates (%#v) vs. %d failures (%#v)", len(candidates), candidates, len(failures), failures)
|
||||
}
|
||||
|
||||
registriesConfPath := sysregistriesv2.ConfigPath(systemContext)
|
||||
@ -221,7 +221,7 @@ func resolveImage(ctx context.Context, systemContext *types.SystemContext, store
|
||||
if searchRegistriesWereUsedButEmpty {
|
||||
return nil, "", nil, errors.Errorf("image name %q is a short name and no search registries are defined in %s.", options.FromImage, registriesConfPath)
|
||||
}
|
||||
return nil, "", nil, fmt.Errorf("internal error: no pull candidates were available for %q for an unknown reason", options.FromImage)
|
||||
return nil, "", nil, errors.Errorf("internal error: no pull candidates were available for %q for an unknown reason", options.FromImage)
|
||||
|
||||
case 1:
|
||||
err := failures[0].err
|
||||
|
Reference in New Issue
Block a user