summaryrefslogtreecommitdiff
path: root/pkg/adapter/runtime.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-12-23 18:01:32 +0100
committerGitHub <noreply@github.com>2019-12-23 18:01:32 +0100
commitd62fce0c873bdd1341af15eba4418ff83af7edba (patch)
tree9c4f9b09f18ffb47ecc50b6b5058e64c390ec57d /pkg/adapter/runtime.go
parentd43bff7cc6484927487ded4246e7625c8b42b5e8 (diff)
parent4f09cfdaccfdd0f1deb01e52c7e1b18a9cec7d49 (diff)
downloadpodman-d62fce0c873bdd1341af15eba4418ff83af7edba.tar.gz
podman-d62fce0c873bdd1341af15eba4418ff83af7edba.tar.bz2
podman-d62fce0c873bdd1341af15eba4418ff83af7edba.zip
Merge pull request #4743 from baude/imageresponse
add struct response for removal of images
Diffstat (limited to 'pkg/adapter/runtime.go')
-rw-r--r--pkg/adapter/runtime.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/adapter/runtime.go b/pkg/adapter/runtime.go
index ac843b655..dd4f0f35f 100644
--- a/pkg/adapter/runtime.go
+++ b/pkg/adapter/runtime.go
@@ -155,7 +155,7 @@ func (r *LocalRuntime) New(ctx context.Context, name, signaturePolicyPath, authf
}
// RemoveImage calls into local storage and removes an image
-func (r *LocalRuntime) RemoveImage(ctx context.Context, img *ContainerImage, force bool) (string, error) {
+func (r *LocalRuntime) RemoveImage(ctx context.Context, img *ContainerImage, force bool) (*image.ImageDeleteResponse, error) {
return r.Runtime.RemoveImage(ctx, img.Image, force)
}