summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-12-29 12:26:11 +0100
committerGitHub <noreply@github.com>2021-12-29 12:26:11 +0100
commit807f7cfed3df770abcb7609e9b281d666a110b27 (patch)
tree35cbe1adab0c866b2f4688bdbec0d842890a1ce7 /pkg
parente06631d6c22f4d5b7a62f70ccdf623379a9d5fe7 (diff)
parenta2687783d447183a7ab0c97023b87e9731cc7fe9 (diff)
downloadpodman-807f7cfed3df770abcb7609e9b281d666a110b27.tar.gz
podman-807f7cfed3df770abcb7609e9b281d666a110b27.tar.bz2
podman-807f7cfed3df770abcb7609e9b281d666a110b27.zip
Merge pull request #12705 from olitha/compat-api-containers-sha256
Compat api containers ImageId missing sha256
Diffstat (limited to 'pkg')
-rw-r--r--pkg/api/handlers/compat/containers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/compat/containers.go b/pkg/api/handlers/compat/containers.go
index 4f101ce84..5a06722ec 100644
--- a/pkg/api/handlers/compat/containers.go
+++ b/pkg/api/handlers/compat/containers.go
@@ -360,7 +360,7 @@ func LibpodToContainer(l *libpod.Container, sz bool) (*handlers.Container, error
ID: l.ID(),
Names: []string{fmt.Sprintf("/%s", l.Name())},
Image: imageName,
- ImageID: imageID,
+ ImageID: "sha256:" + imageID,
Command: strings.Join(l.Command(), " "),
Created: l.CreatedTime().Unix(),
Ports: ports,