-
Notifications
You must be signed in to change notification settings - Fork 188
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: avoid division by zero #458
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #458 +/- ##
===========================================
- Coverage 100% 99.92% -0.08%
===========================================
Files 37 37
Lines 2823 2823
Branches 435 435
===========================================
- Hits 2823 2821 -2
- Misses 0 1 +1
- Partials 0 1 +1
Continue to review full report at Codecov.
|
@deimosfr Apologies for letting this sit so long, and thank you so much for the contribution! I'll do my best to get this released today or tomorrow. |
@deimosfr I merged this and was doing some work on it locally adding test coverage, but I've run into a bit of an issue... I'm not entirely sure what a zero quota value means. Would it be possible for you to please re-run awslimitchecker with debug-level output ( |
Here is the output:
|
@deimosfr Apologies, it looks like that didn't give me the level of information that I was looking for. Do you think that you could please also include the output of |
I believe that #460 is for this same issue. I'll try to get a release cut today. |
This has been released as 8.0.2 and is now live on PyPI. Thank you so much!! |
Summary
There is a bug with division by zero:
Contributor License Agreement
By submitting this work for inclusion in awslimitchecker, I agree to the following terms:
is being made under the same license as the awslimitchecker project (the Affero GPL v3,
or any subsequent version of that license if adopted by awslimitchecker).
this pull request grants a perpetual, global, unlimited license for it to be used and distributed
under the terms of awslimitchecker's license.