Take advantage of the new flow for data providers in charmhelpers
Bug #1461516 reported by
Free Ekanayaka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Charm |
Fix Released
|
Medium
|
Free Ekanayaka |
Bug Description
Starting with r376 the charm-helpers services framework allows data-providers to be triggered only outside relation hooks. We already have a workaround for this limitation that can be now dropped, and we'll need this behavior for leader-change related code (e.g. updating the haproxy relation when the leader changes).
Related branches
lp:~free.ekanayaka/landscape-charm/new-data-provider-flow
- 🤖 Landscape Builder: Approve (test results)
- Данило Шеган (community): Approve
- Björn Tillenius (community): Approve
-
Diff: 248 lines (+103/-37)5 files modifiedcharmhelpers/core/hookenv.py (+62/-1)
charmhelpers/core/services/base.py (+30/-9)
charmhelpers/fetch/giturl.py (+7/-5)
lib/services.py (+2/-16)
lib/tests/test_services.py (+2/-6)
tags: | removed: kanban |
Changed in landscape-charm: | |
status: | In Progress → Fix Committed |
Changed in landscape-charm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.