fix: api rate percent calculation incorrect #4956

Merged
merged 1 commit into from Nov 8, 2016

Projects

None yet

4 participants

@murrant
Contributor
murrant commented Nov 8, 2016

Please note

Please read this information carefully. You can run ./scripts/pre-commit.php to check your code before submitting.

Now outputs percent with with two decimal places.
If ifSpeed = 0, the output will be "inf"

@murrant murrant fix: api rate percent calculation incorrect
Now outputs percent with with two decimal places.
If ifSpeed = 0, the output will be "inf"
7d585f4
@scrutinizer-notifier

The inspection completed: 2 new issues

@laf laf merged commit e514e6d into librenms:master Nov 8, 2016

2 checks passed

Auto-Deploy Build finished.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@laf laf added Bug API labels Nov 8, 2016
@murrant murrant deleted the murrant:api-percent branch Nov 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment