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
closes #46 #47
closes #46 #47
Conversation
To keep with the original functionality would it make sense for when --used is supplied to do config[:warn] = 100 - config[:warn] |
@sstarcher the problem is that if |
I think the best design would to remove the |
@sstarcher not sure I agree, what is your rationale? If we were to go with best case design I would argue to remove behavior of If we are to fix the reported bug without removing functionality I think the proposed solution makes sense. If we are ok with removing functionality I think it makes more sense to to the reverse of what you proposed and do a major rev to avoid it breaking people using existing functionality. |
I don't agree that your changes does not break existing users. If anyone is currently using the plugin and is using --used after your change they will always see alerts as they will have thresholds of 5 and 10. My recommendation above for
|
@sstarcher sorry I have been MIA (traveling for work), after reading your thoughts I agree that pretty much any good change is a breaking change at this point because the original feature was flawed. the reason I dont like |
@majormoses That sounds reasonable. Update the revision to a major update and I'll merge. |
- breaking change: remove hardcoded values when using `--used`. (major vertsion bump) - appease rubocop
@sstarcher ready for a review and release, thanks |
@sstarcher can we please get a release as this is a major change? |
Fixes
#46
General
Purpose
Known Compatablity Issues
remove hardcoded values when using
--used