-
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
Support size suffixes in config #893
Conversation
Codecov Report
@@ Coverage Diff @@
## master #893 +/- ##
==========================================
+ Coverage 39.16% 39.32% +0.15%
==========================================
Files 244 244
Lines 12178 12212 +34
==========================================
+ Hits 4770 4802 +32
- Misses 7013 7014 +1
- Partials 395 396 +1
Continue to review full report at Codecov.
|
See also spf13/cast#129 . |
I believe at least terabytes should be supported. BTW, what about floats, like .5Tb for example? |
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.
@fyrchik pls don't forget to fix linter's remark
@532910 floats are not supported, at least for now. I will add TB suffixes. |
The code is taken from viper as `cast` package that we use doesn't have needed converter. Signed-off-by: Evgenii Stratonikov <[email protected]>
Signed-off-by: Evgenii Stratonikov <[email protected]>
Fix #857 .