-
Notifications
You must be signed in to change notification settings - Fork 21
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
Show image pull progress in a separate Echelon node #102
Conversation
I don't think this solves #11, since the progress is still hidden in |
There will be a timer. When you do |
How are you going to calculate the total time needed to pull the image anyway? Note that
You can combine them to get a total percentage that can be flushed to the log periodically. |
Ok, let's not claim fixing #11 then. |
progress, err := cli.ImagePull(ctx, params.Image, types.ImagePullOptions{}) | ||
if err != nil { | ||
dockerPullLogger.Errorf("Failed to pull %s: $v", params.Image, err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dockerPullLogger.Errorf("Failed to pull %s: $v", params.Image, err) | |
dockerPullLogger.Errorf("failed to pull %s: %v", params.Image, err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hold on, this is a user visible error level log
35cd7a3
to
9def86d
Compare
No description provided.