Descriptionstate: add new peer relations on upgrade
When setiing a serivce's charm on upgrade, new
peer relations are now added as part of the same
transaction.
Slight refactoring of AddService is done as well,
extracting common code now used by both AS() and
service.SetCharm.
Refactored testing Add*Charm() calls to use more
generic code. In a follow-up it'll be improved
further.
https://code.launchpad.net/~dimitern/juju-core/017-upgrade-charm-add-new-peer-relations/+merge/155562
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : state: add new peer relations on upgrade #
Total comments: 9
Patch Set 3 : state: add new peer relations on upgrade #
Total comments: 8
Patch Set 4 : state: add new peer relations on upgrade #
MessagesTotal messages: 9
|