mirror of
https://github.com/containers/podman.git
synced 2025-06-19 16:33:24 +08:00
Merge pull request #10259 from rhatdan/pull
Report Download complete in Compatibility mode
This commit is contained in:
@ -324,7 +324,11 @@ loop: // break out of for/select infinite loop
|
||||
flush()
|
||||
case <-runCtx.Done():
|
||||
if !failed {
|
||||
if utils.IsLibpodRequest(r) {
|
||||
report.Status = "Pull complete"
|
||||
} else {
|
||||
report.Status = "Download complete"
|
||||
}
|
||||
report.Id = img[0:12]
|
||||
if err := enc.Encode(report); err != nil {
|
||||
logrus.Warnf("Failed to json encode error %q", err.Error())
|
||||
|
Reference in New Issue
Block a user