Merge ~mertkirpici/charm-logrotated:lp/2017795 into charm-logrotated:master
Proposed by
Mert Kirpici
Status: | Merged |
---|---|
Approved by: | Mert Kirpici |
Approved revision: | 7316795355629d4ebcfe8a2b76f5faf0f5b07d23 |
Merged at revision: | 55f7ed6f91b9a56f0241e68a4ef5c6cd75fd5492 |
Proposed branch: | ~mertkirpici/charm-logrotated:lp/2017795 |
Merge into: | charm-logrotated:master |
Diff against target: |
218 lines (+118/-22) 5 files modified
src/lib/lib_cron.py (+18/-19) src/tests/functional/test_logrotate.py (+21/-0) src/tests/unit/conftest.py (+7/-1) src/tests/unit/requirements.txt (+1/-1) src/tests/unit/test_logrotate.py (+71/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
🤖 prod-jenkaas-bootstack (community) | continuous-integration | Approve | |
Chi Wai CHAN | Approve | ||
Erhan Sunar (community) | Approve | ||
BootStack Reviewers | Pending | ||
Review via email: mp+442359@code.launchpad.net |
Commit message
LP #2017795
Description of the change
fix: cleanup old cronjobs upon config change
A change in cronjob frequency used to leave the old cronjobs behind,
causing unnecessary execution. This patch is mitigating that behavior
and also adds some tests.
To post a comment you must log in.
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.