Skip to content

Commit

Permalink
Merge pull request #1704 from ygalblum/copy-print-crash
Browse files Browse the repository at this point in the history
Copier: use StringWithinTransport instead of DockerReference
  • Loading branch information
openshift-ci[bot] authored Oct 23, 2023
2 parents b51fa19 + 8ee529f commit f6b9f46
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libimage/copier.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,11 @@ func (c *copier) copy(ctx context.Context, source, destination types.ImageRefere
defer cancel()
defer timer.Stop()

fmt.Fprintf(c.imageCopyOptions.ReportWriter, "Pulling image %s inside systemd: setting pull timeout to %s\n", source.DockerReference(), time.Duration(numExtensions)*extension)
fmt.Fprintf(c.imageCopyOptions.ReportWriter,
"Pulling image %s inside systemd: setting pull timeout to %s\n",
source.StringWithinTransport(),
time.Duration(numExtensions)*extension,
)

// From `man systemd.service(5)`:
//
Expand Down

0 comments on commit f6b9f46

Please sign in to comment.