-
Notifications
You must be signed in to change notification settings - Fork 38
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
fix wrong duration showed for image import #673
Conversation
Welcome @arshadd-b! It looks like this is your first PR to ppc64le-cloud/pvsadm 🎉 |
Hi @arshadd-b. Thanks for your PR. I'm waiting for a ppc64le-cloud member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/ok-to-test |
Hi @arshadd-b, Changes look good to me. |
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.
concern here is not about the way it is printing but the actual time is been printed as 11s which is wrong, in the code you can see that start
is been overwritten later and displays same message
Image imported successfully, took %s
Successfully imported the image: %s with ID: %s in %s"
we need to track overall time taken and display..
Hi @mkumatag. I think these are two discrete events that are timed to measure the duration for image upload and image availability.
Should we consider rephrasing the second log statement to being specific about the time taken for the image to be available? Thanks! |
As a user - I'm more interested in knowing the end to end timing, any intermediate information will be more of a good to have information. Lets reword the message for better understanding. |
e98e678
to
1486dcc
Compare
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: arshadd-b, mkumatag The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Addressed git issue #668