Merge ~stub/prometheus-charm:setactive into prometheus-charm:master
Proposed by
Stuart Bishop
Status: | Merged |
---|---|
Merged at revision: | 1527db388f64e62df22abceca4c9b8319318e1be |
Proposed branch: | ~stub/prometheus-charm:setactive |
Merge into: | prometheus-charm:master |
Diff against target: |
12 lines (+1/-0) 1 file modified
reactive/prometheus.py (+1/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jacek Nykis (community) | Approve | ||
Review via email:
|
Description of the change
Set active workload state after reload
Active workload state was only being set after a restart, which
caused the unit to remain in maintenance states if only a reload
was needed to complete the operation. Addresses lp:1668142
The alternative would be a new set_active handler that kicks in when all relevant state is set/unset. Which works better in complex charms, but I don't think we are there yet.
To post a comment you must log in.
LGTM