Merge ~mthaddon/apache2-charm/+git/apache2-charm:active-status into apache2-charm:master
Proposed by
Tom Haddon
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Tom Haddon | ||||||||
Approved revision: | e4a5e4662cafec6433e170cacbe6834b4fc10281 | ||||||||
Merged at revision: | 15d7f8b375bb2fcf7e3bed154b609969fdd82a04 | ||||||||
Proposed branch: | ~mthaddon/apache2-charm/+git/apache2-charm:active-status | ||||||||
Merge into: | apache2-charm:master | ||||||||
Diff against target: |
81 lines (+18/-10) 1 file modified
hooks/hooks.py (+18/-10) |
||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Haw Loeung | +1 | Approve | |
Canonical IS Reviewers | Pending | ||
Review via email: mp+407489@code.launchpad.net |
Commit message
Set status for the charm, and if service check fails, set the charm to a blocked state
Description of the change
Due to lack of tests for this charm, the following tests have been done manually:
* Deploy to an LXC locally, confirm juju status is set to active
* Set config to something that would break the service check, and confirm it's set to blocked status. Set config to something that is okay again, confirm the charm recovers to active status.
To post a comment you must log in.
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.