From 4578161b1ebbf6258889b1012ee738bf595f33d4 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Thu, 16 May 2024 16:35:00 +0200 Subject: [PATCH] cmd/create: Style fixes https://github.com/containers/toolbox/pull/1491 --- src/cmd/create.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cmd/create.go b/src/cmd/create.go index cbed03f51..52005fe89 100644 --- a/src/cmd/create.go +++ b/src/cmd/create.go @@ -653,7 +653,6 @@ func getServiceSocket(serviceName string, unitName string) (string, error) { func pullImage(image, release, authFile string) (bool, error) { if ok := utils.ImageReferenceCanBeID(image); ok { logrus.Debugf("Looking up image %s", image) - if _, err := podman.ImageExists(image); err == nil { return true, nil } @@ -683,7 +682,6 @@ func pullImage(image, release, authFile string) (bool, error) { } logrus.Debugf("Looking up image %s", imageFull) - if _, err := podman.ImageExists(imageFull); err == nil { return true, nil }