diff options
author | Qi Wang <qiwan@redhat.com> | 2020-10-22 15:00:31 -0400 |
---|---|---|
committer | Qi Wang <qiwan@redhat.com> | 2020-12-02 09:25:01 -0500 |
commit | f525d8b8431b13359c0e2f6c8be45687eb32a0fd (patch) | |
tree | 8257fbd4255fb9fc091550802eb813edaf3cef70 /pkg/domain | |
parent | d28874b2f4bc4f522ed2dc63412e9ddfea011fac (diff) | |
download | podman-f525d8b8431b13359c0e2f6c8be45687eb32a0fd.tar.gz podman-f525d8b8431b13359c0e2f6c8be45687eb32a0fd.tar.bz2 podman-f525d8b8431b13359c0e2f6c8be45687eb32a0fd.zip |
Do not pass name argument to Load API
Not pass the name argument to Load API. Specify in the document the usage of the optional argument is tagging an additional image.
Close #7337
Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'pkg/domain')
-rw-r--r-- | pkg/domain/infra/abi/images.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/images.go b/pkg/domain/infra/abi/images.go index ef0e15264..1b523f06a 100644 --- a/pkg/domain/infra/abi/images.go +++ b/pkg/domain/infra/abi/images.go @@ -458,7 +458,7 @@ func (ir *ImageEngine) Load(ctx context.Context, opts entities.ImageLoadOptions) if !opts.Quiet { writer = os.Stderr } - name, err := ir.Libpod.LoadImage(ctx, opts.Name, opts.Input, writer, opts.SignaturePolicy) + name, err := ir.Libpod.LoadImage(ctx, opts.Input, writer, opts.SignaturePolicy) if err != nil { return nil, err } |