Skip to content
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 OpManager progress tracking #71

Merged
merged 3 commits into from
Aug 16, 2019
Merged

Conversation

lftakakura
Copy link
Contributor

With the recent changes, the progress status broke

@coveralls
Copy link

coveralls commented Aug 15, 2019

Coverage Status

Coverage increased (+0.03%) to 81.148% when pulling 8116b89 on fix/operation-progress into 1d40908 on master.

models/scheduler.go Outdated Show resolved Hide resolved
Copy link
Contributor

@cscatolini cscatolini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Nice job using constants instead of strings spread all over the place!

I'd just add a comment explaining this if:

if status["description"] != models.OpManagerFinished && new/total > 0.99 {

Feel free to merge once this is done.

@lftakakura lftakakura merged commit 4245dfa into master Aug 16, 2019
lftakakura added a commit that referenced this pull request Oct 11, 2019
* Fix OpManager progress tracking

* Remove unnecessary scheduler method

* Add comment to confusing line of code in getOperationRollingProgress function
lftakakura added a commit that referenced this pull request Oct 15, 2019
* Fix OpManager progress tracking

* Remove unnecessary scheduler method

* Add comment to confusing line of code in getOperationRollingProgress function
lftakakura added a commit that referenced this pull request Oct 15, 2019
* Fix OpManager progress tracking

* Remove unnecessary scheduler method

* Add comment to confusing line of code in getOperationRollingProgress function
@caiordjesus caiordjesus deleted the fix/operation-progress branch February 14, 2022 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants