pull: remove cryptic error message
we were printing something like: (0x1840f00,0xc00041bba0) Closes: https://github.com/containers/libpod/issues/2710 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
387d6012ba
commit
6f3d2edc2b
|
|
@ -61,7 +61,7 @@ func init() {
|
|||
|
||||
// pullCmd gets the data from the command line and calls pullImage
|
||||
// to copy an image from a registry to a local machine
|
||||
func pullCmd(c *cliconfig.PullValues) error {
|
||||
func pullCmd(c *cliconfig.PullValues) (retError error) {
|
||||
if c.Bool("trace") {
|
||||
span, _ := opentracing.StartSpanFromContext(Ctx, "pullCmd")
|
||||
defer span.Finish()
|
||||
|
|
@ -163,7 +163,7 @@ func pullCmd(c *cliconfig.PullValues) error {
|
|||
for _, name := range names {
|
||||
newImage, err := runtime.New(getContext(), name, c.String("signature-policy"), authfile, writer, &dockerRegistryOptions, image.SigningOptions{}, true, nil)
|
||||
if err != nil {
|
||||
println(errors.Wrapf(err, "error pulling image %q", name))
|
||||
logrus.Errorf("error pulling image %q", name)
|
||||
foundImage = false
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue