-
Notifications
You must be signed in to change notification settings - Fork 596
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
Expired reason iota fix #255
Expired reason iota fix #255
Conversation
EntryStatus back to the caller "Expired" cannot be differentiated. Fixing this by default "_" to 0 and incremental RemoveReasons comment was missing for GetWithInfo api so updated that test: ran all unit test cases
rebasing #181 to versions/v3-prep |
Codecov Report
@@ Coverage Diff @@
## versions/v3-prep #255 +/- ##
====================================================
+ Coverage 86.56% 87.01% +0.45%
====================================================
Files 15 15
Lines 640 647 +7
====================================================
+ Hits 554 563 +9
+ Misses 71 68 -3
- Partials 15 16 +1
Continue to review full report at Codecov.
|
What exactly does it fix? Can you provide a failing test that is fixed by this change? |
Currently all const for RemovedReason are explicitly set to avoid any breaking changes. For v3 migrating the reasons to iota makes code readability and managing addition of more reasons easier in the future. Test: Validated all test cases run successfully.
@mxplusb will this make cut for v3 ? |
No description provided.