mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-12 03:45:46 +00:00
Also set DestinationCtx in a copy
It shouldn't actually affect anything, but it's easier to set it than worry. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
parent
e04b77e600
commit
a37bf83dfc
1 changed files with 2 additions and 1 deletions
|
|
@ -87,7 +87,8 @@ func pull(ctx context.Context, imageInput types.ImageReference, localDestPath *d
|
|||
}
|
||||
|
||||
copyOpts := copy.Options{
|
||||
SourceCtx: sysCtx,
|
||||
SourceCtx: sysCtx,
|
||||
DestinationCtx: sysCtx,
|
||||
}
|
||||
if !options.quiet {
|
||||
copyOpts.ReportWriter = os.Stderr
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue