aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/infra
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-06-30 13:54:02 +0000
committerGitHub <noreply@github.com>2022-06-30 13:54:02 +0000
commitaa109ae0f058060466b61d01571e37b7cc718b9a (patch)
treea06c4d46502c889f468e5ef3f1ec693331230662 /pkg/domain/infra
parent3426d56b92be2ac1c3cc62fc578e9cb6d64aca81 (diff)
parent7bbfb3eb0d9c711332b5d96963bbc8db28bf6115 (diff)
downloadpodman-aa109ae0f058060466b61d01571e37b7cc718b9a.tar.gz
podman-aa109ae0f058060466b61d01571e37b7cc718b9a.tar.bz2
podman-aa109ae0f058060466b61d01571e37b7cc718b9a.zip
Merge pull request #14783 from flouthoc/api-image-lookup-manifest
api,images: add support for `LookupManifest` to `Image removal` REST API
Diffstat (limited to 'pkg/domain/infra')
-rw-r--r--pkg/domain/infra/tunnel/images.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/images.go b/pkg/domain/infra/tunnel/images.go
index b81b64161..09f8ac4c3 100644
--- a/pkg/domain/infra/tunnel/images.go
+++ b/pkg/domain/infra/tunnel/images.go
@@ -28,7 +28,7 @@ func (ir *ImageEngine) Exists(_ context.Context, nameOrID string) (*entities.Boo
}
func (ir *ImageEngine) Remove(ctx context.Context, imagesArg []string, opts entities.ImageRemoveOptions) (*entities.ImageRemoveReport, []error) {
- options := new(images.RemoveOptions).WithForce(opts.Force).WithIgnore(opts.Ignore).WithAll(opts.All)
+ options := new(images.RemoveOptions).WithForce(opts.Force).WithIgnore(opts.Ignore).WithAll(opts.All).WithLookupManifest(opts.LookupManifest)
return images.Remove(ir.ClientCtx, imagesArg, options)
}