diff options
author | Karthik Elango <kelango@redhat.com> | 2022-07-20 16:23:13 -0400 |
---|---|---|
committer | Karthik Elango <kelango@redhat.com> | 2022-08-04 14:55:03 -0400 |
commit | cc8e4d5fec571d6bd69d3d2f8189e945b621ba7b (patch) | |
tree | b47a7e62c202905d9ba2d592d0cfcf84152691ef /pkg/domain/infra/tunnel | |
parent | b0ef621ebf196fd61189aebff3161927f0049c52 (diff) | |
download | podman-cc8e4d5fec571d6bd69d3d2f8189e945b621ba7b.tar.gz podman-cc8e4d5fec571d6bd69d3d2f8189e945b621ba7b.tar.bz2 podman-cc8e4d5fec571d6bd69d3d2f8189e945b621ba7b.zip |
remove image podman no prune
Signed-off-by: Karthik Elango <kelango@redhat.com>
Diffstat (limited to 'pkg/domain/infra/tunnel')
-rw-r--r-- | pkg/domain/infra/tunnel/images.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/images.go b/pkg/domain/infra/tunnel/images.go index 4f79325fd..4fecefaa3 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).WithLookupManifest(opts.LookupManifest) + options := new(images.RemoveOptions).WithForce(opts.Force).WithIgnore(opts.Ignore).WithAll(opts.All).WithLookupManifest(opts.LookupManifest).WithNoPrune(opts.NoPrune) return images.Remove(ir.ClientCtx, imagesArg, options) } |