Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 7e87ad4

Browse files
committed
Delint
1 parent 38d2a64 commit 7e87ad4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

registry/save.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ func SaveImage(image string, username string, password string, cli command.Cli)
298298
if err != nil {
299299
return nil, errors.Wrapf(err, "failed to pull index: %s", image)
300300
}
301-
manifest, err := ix.IndexManifest()
302-
imageRef, err := name.ParseReference(fmt.Sprintf("%s@%s", ref.Name(), manifest.Manifests[0].Digest.String()))
301+
manifest, _ := ix.IndexManifest()
302+
imageRef, _ := name.ParseReference(fmt.Sprintf("%s@%s", ref.Name(), manifest.Manifests[0].Digest.String()))
303303
img, err = remote.Image(imageRef, WithAuth(username, password))
304304
if err != nil {
305305
return nil, errors.Wrapf(err, "failed to pull image: %s", image)

0 commit comments

Comments
 (0)