diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-08-25 07:33:44 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-08-28 09:36:11 -0400 |
commit | 3c6603a2f88ab5ba38bf58334417aaa90c458c06 (patch) | |
tree | cc31266b9fadabd34b9bbe56ea5abc002f83fdee /pkg/bindings/images | |
parent | f49b98c61019ac04dccd6b3d5bc0c6af7857b17e (diff) | |
download | podman-3c6603a2f88ab5ba38bf58334417aaa90c458c06.tar.gz podman-3c6603a2f88ab5ba38bf58334417aaa90c458c06.tar.bz2 podman-3c6603a2f88ab5ba38bf58334417aaa90c458c06.zip |
Add support for variant when pulling images
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/bindings/images')
-rw-r--r-- | pkg/bindings/images/images.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/bindings/images/images.go b/pkg/bindings/images/images.go index 12d1a9ce9..9f6e78b79 100644 --- a/pkg/bindings/images/images.go +++ b/pkg/bindings/images/images.go @@ -365,6 +365,7 @@ func Pull(ctx context.Context, rawImage string, options entities.ImagePullOption params.Set("reference", rawImage) params.Set("overrideArch", options.OverrideArch) params.Set("overrideOS", options.OverrideOS) + params.Set("overrideVariant", options.OverrideVariant) if options.SkipTLSVerify != types.OptionalBoolUndefined { // Note: we have to verify if skipped is false. verifyTLS := bool(options.SkipTLSVerify == types.OptionalBoolFalse) |