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č committed 2026-03-02 23:17:13 +01:00
1 parent e04b77e600
commit a37bf83dfc
1 file changed
+2 -1
+2 -1
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