Descriptioncmd/jujud: upgradeWorker opens state
The scheme that this replaces makes an unwarrantedly chummy
relationship between APIWorker and StateWorker.
(and it panicked when StateWorker was invoked more
than once).
We fix it by making an independent connection to the
state for the upgrader's needs.
We also refactor some of the testing code
to move as much test-related logic out of the
production code as possible and to merge some
duplicated code.
https://code.launchpad.net/~rogpeppe/juju-core/541-upgrader-independent-state-open/+merge/214798
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : cmd/jujud: upgradeWorker opens state #
MessagesTotal messages: 3
|