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:
Miloslav Trmač
2026-02-27 19:37:11 +01:00
parent e04b77e600
commit a37bf83dfc

View File

@@ -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