summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/abi/images.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-22 11:00:09 -0400
committerGitHub <noreply@github.com>2020-10-22 11:00:09 -0400
commit513c2610f37fa530b951a9a0105f49dfd346c091 (patch)
treea3e889e5825ea067b93991770bdf1ebba5e8be27 /pkg/domain/infra/abi/images.go
parent5d70f46bd3f90739bf1ae3eba473523200669025 (diff)
parentb898f914a3a9b8cad5519ace0167d738e2f85186 (diff)
downloadpodman-513c2610f37fa530b951a9a0105f49dfd346c091.tar.gz
podman-513c2610f37fa530b951a9a0105f49dfd346c091.tar.bz2
podman-513c2610f37fa530b951a9a0105f49dfd346c091.zip
Merge pull request #7956 from QiWang19/save-rm-sig
Allow save image remove-signatures
Diffstat (limited to 'pkg/domain/infra/abi/images.go')
-rw-r--r--pkg/domain/infra/abi/images.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/domain/infra/abi/images.go b/pkg/domain/infra/abi/images.go
index f9d733c63..25335cf11 100644
--- a/pkg/domain/infra/abi/images.go
+++ b/pkg/domain/infra/abi/images.go
@@ -482,13 +482,13 @@ func (ir *ImageEngine) Import(ctx context.Context, opts entities.ImageImportOpti
func (ir *ImageEngine) Save(ctx context.Context, nameOrID string, tags []string, options entities.ImageSaveOptions) error {
if options.MultiImageArchive {
nameOrIDs := append([]string{nameOrID}, tags...)
- return ir.Libpod.ImageRuntime().SaveImages(ctx, nameOrIDs, options.Format, options.Output, options.Quiet)
+ return ir.Libpod.ImageRuntime().SaveImages(ctx, nameOrIDs, options.Format, options.Output, options.Quiet, true)
}
newImage, err := ir.Libpod.ImageRuntime().NewFromLocal(nameOrID)
if err != nil {
return err
}
- return newImage.Save(ctx, nameOrID, options.Format, options.Output, tags, options.Quiet, options.Compress)
+ return newImage.Save(ctx, nameOrID, options.Format, options.Output, tags, options.Quiet, options.Compress, true)
}
func (ir *ImageEngine) Diff(_ context.Context, nameOrID string, _ entities.DiffOptions) (*entities.DiffReport, error) {