Skip to content

Commit c2a54d9

Browse files
committed
Bug 1768255: replace Fraction with Done and Total
Make Done and Total available to syncStatus and calculate percent complete locally. Use math.Trunc to avoid rounding which occurs when only %.0f is used. This can also cause us to display 100% complete when Done != Total. Also dropped pkg/cvo/cvo_scenarios_test.go's use of diff.ObjectReflectDiff. Method was causing a panic and is also deprecated in favor of cmp.Diff. cmp.Diff does not print out difference so simply logged expected and actual values instead.
1 parent 41af279 commit c2a54d9

File tree

5 files changed

+160
-82
lines changed

5 files changed

+160
-82
lines changed

0 commit comments

Comments
 (0)