summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/images.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-03-21 10:34:40 +0100
committerGitHub <noreply@github.com>2022-03-21 10:34:40 +0100
commit248dbf6089922903d12553497a2faae27d1b503b (patch)
tree335c4daf4f583fc1c9c85c9844b7eda5f59fefb4 /pkg/domain/infra/tunnel/images.go
parent447e947aed160de86d1bb3d2f09a3628a25a7511 (diff)
parent95dad4d8a443682e59c14a94035a111bab3e42fc (diff)
downloadpodman-248dbf6089922903d12553497a2faae27d1b503b.tar.gz
podman-248dbf6089922903d12553497a2faae27d1b503b.tar.bz2
podman-248dbf6089922903d12553497a2faae27d1b503b.zip
Merge pull request #13541 from vrothberg/rmi-ignore
podman rmi --ignore
Diffstat (limited to 'pkg/domain/infra/tunnel/images.go')
-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 3ee97d94c..62eacb19f 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).WithAll(opts.All)
+ options := new(images.RemoveOptions).WithForce(opts.Force).WithIgnore(opts.Ignore).WithAll(opts.All)
return images.Remove(ir.ClientCtx, imagesArg, options)
}