summaryrefslogtreecommitdiff
path: root/pkg/domain/infra
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-06-15 12:43:15 -0400
committerGitHub <noreply@github.com>2021-06-15 12:43:15 -0400
commit463a5a7db5b096f225324d9c2c40e40a47f6e7c2 (patch)
tree11829a61203fdc0304e9aacbebe0cf578e7d1933 /pkg/domain/infra
parent6b517a7e9077330bfe81d84401aa856e2fab380c (diff)
parent3ddadc5326d6f7ba159495f135730ed817ce1989 (diff)
downloadpodman-463a5a7db5b096f225324d9c2c40e40a47f6e7c2.tar.gz
podman-463a5a7db5b096f225324d9c2c40e40a47f6e7c2.tar.bz2
podman-463a5a7db5b096f225324d9c2c40e40a47f6e7c2.zip
Merge pull request #10622 from cdoern/imgImportFeature
compat import imageFromSrc support for platform query parameter
Diffstat (limited to 'pkg/domain/infra')
-rw-r--r--pkg/domain/infra/abi/images.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/domain/infra/abi/images.go b/pkg/domain/infra/abi/images.go
index 083566201..5992181d3 100644
--- a/pkg/domain/infra/abi/images.go
+++ b/pkg/domain/infra/abi/images.go
@@ -388,6 +388,8 @@ func (ir *ImageEngine) Import(ctx context.Context, options entities.ImageImportO
importOptions.CommitMessage = options.Message
importOptions.Tag = options.Reference
importOptions.SignaturePolicyPath = options.SignaturePolicy
+ importOptions.OS = options.OS
+ importOptions.Architecture = options.Architecture
if !options.Quiet {
importOptions.Writer = os.Stderr