Merge lp://staging/~ajkavanagh/charms/trusty/glance/use-assess-status-lp1531767 into lp://staging/~openstack-charmers-archive/charms/trusty/glance/next
Proposed by
Alex Kavanagh
Status: | Merged |
---|---|
Merged at revision: | 162 |
Proposed branch: | lp://staging/~ajkavanagh/charms/trusty/glance/use-assess-status-lp1531767 |
Merge into: | lp://staging/~openstack-charmers-archive/charms/trusty/glance/next |
Diff against target: |
272 lines (+104/-52) 5 files modified
actions/actions.py (+10/-5) hooks/glance_relations.py (+3/-6) hooks/glance_utils.py (+34/-0) unit_tests/test_actions.py (+23/-41) unit_tests/test_glance_utils.py (+34/-0) |
To merge this branch: | bzr merge lp://staging/~ajkavanagh/charms/trusty/glance/use-assess-status-lp1531767 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Ames (community) | Approve | ||
Liam Young (community) | Needs Fixing | ||
Review via email: mp+282343@code.staging.launchpad.net |
Description of the change
Change to the implementation of pause and resume actions such that they use a new function called assess_status() which (currently) only checks if the unit is_paused() -- which is also new.
Note that it doesn't (as yet?) change any of the other status_set() functions which means this is only a partial solution.
To post a comment you must log in.
This look good, just a couple of comments inline