Skip to content

Commit 8058ee9

Browse files
committed
Fix None returned for gardenlinux.oci.Podman.pull()
Signed-off-by: Tobias Wolf <[email protected]> On-behalf-of: SAP <[email protected]>
1 parent b9039cc commit 8058ee9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gardenlinux/oci/podman.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ def pull(
201201
if oci_tag is not None:
202202
kwargs["tag"] = oci_tag
203203

204-
podman.images.pull(container, **kwargs)
204+
image = podman.images.pull(container, **kwargs)
205+
return image.id
205206

206207
@PodmanContext.wrap
207208
def push(

0 commit comments

Comments
 (0)