Merge pull request #8694 from yankay/fix-push-image-rate

Fix ctr push image can't show right rate
This commit is contained in:
Derek McGowan
2023-08-22 16:39:35 -07:00
committed by GitHub
2 changed files with 1 additions and 7 deletions

View File

@@ -138,9 +138,7 @@ func (p dockerPusher) push(ctx context.Context, desc ocispec.Descriptor, ref str
p.tracker.SetStatus(ref, Status{
Committed: true,
Status: content.Status{
Ref: ref,
Total: desc.Size,
Offset: desc.Size,
Ref: ref,
// TODO: Set updated time?
},
})