summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/images.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-22 09:53:46 -0400
committerGitHub <noreply@github.com>2021-09-22 09:53:46 -0400
commit8f19efb51951c9f88e8def089c9d2e6446d4af01 (patch)
tree5227f6c65e7469f6f129f7d38d7ba4eb1d47e16c /pkg/domain/infra/tunnel/images.go
parent7910bfd7c1f93a9bac73ae855a1eb6b63aa642a2 (diff)
parent49c5688a30ac29b258196d0be73cc7f09a9705cb (diff)
downloadpodman-8f19efb51951c9f88e8def089c9d2e6446d4af01.tar.gz
podman-8f19efb51951c9f88e8def089c9d2e6446d4af01.tar.bz2
podman-8f19efb51951c9f88e8def089c9d2e6446d4af01.zip
Merge pull request #11678 from vrothberg/fix-11613
podman save: add `--uncompressed`
Diffstat (limited to 'pkg/domain/infra/tunnel/images.go')
-rw-r--r--pkg/domain/infra/tunnel/images.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/infra/tunnel/images.go b/pkg/domain/infra/tunnel/images.go
index 9a746d68c..282770613 100644
--- a/pkg/domain/infra/tunnel/images.go
+++ b/pkg/domain/infra/tunnel/images.go
@@ -256,6 +256,7 @@ func (ir *ImageEngine) Save(ctx context.Context, nameOrID string, tags []string,
err error
)
options := new(images.ExportOptions).WithFormat(opts.Format).WithCompress(opts.Compress)
+ options = options.WithOciAcceptUncompressedLayers(opts.OciAcceptUncompressedLayers)
switch opts.Format {
case "oci-dir", "docker-dir":