Description:
Refactored RelationContext multi-unit support
Added a little magic to the RelationContext to make it better able to
support
multiple units and still DWIM in both cases. This might be too magical,
though.
Affected files (+105, -28 lines):
A [revision details]
M charmhelpers/contrib/cloudfoundry/contexts.py
M charmhelpers/core/services.py
M tests/contrib/cloudfoundry/test_render_context.py
M tests/core/test_services.py
Reviewers: mp+221801_ code.launchpad. net,
Message:
Please take a look.
Description:
Refactored RelationContext multi-unit support
Added a little magic to the RelationContext to make it better able to
support
multiple units and still DWIM in both cases. This might be too magical,
though.
https:/ /code.launchpad .net/~johnsca/ charm-helpers/ multi-unit/ +merge/ 221801
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/96680043/
Affected files (+105, -28 lines): contrib/ cloudfoundry/ contexts. py core/services. py cloudfoundry/ test_render_ context. py test_services. py
A [revision details]
M charmhelpers/
M charmhelpers/
M tests/contrib/
M tests/core/