-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
audit Bar.SetTotal calls in copy.go #1464
Comments
IIRC, those were "needed" for bars to be filled. I'm sure some are not needed and maybe there's a better way. |
Ah, yes. There are two cases where I used the
|
Notes to self, so that I don’t forget. Referring to the ≥ 7.4.1 MPB API:
|
we should, if possible, still count in “source size” units, not the “destination size” units (to use a consistent measure in the hypothetical case of a single (multi-arch?) image that contains both size-known and size-unknown blobs). |
createProgressBar
already usesblobInfo.Size
copyLayer
, after a copy is done, callsSetTotal
with the source info (which might not contain a size), when it certainly has a size from the updated result.It’s probably just bugs, but review also the history in case some of those are non-obvious and necessary.
The text was updated successfully, but these errors were encountered: