Descriptionstate: MachineUnitsWatcher unwatches correct units
This means that stopped MUWs no longer end up blocking the watcher. To help
detect problems like this more easily in future, the watcher package now
panics when unwatching an unknown key.
And I fixed RelationScopeWatcher, which was using the old'n'busted double-
loop style, and replaced "changeChan"s with "out"s for those watchers that
I expect to continue to exist (ie not MachinePrincipalUnitsWatcher). Sorry,
I couldn't resist.
https://code.launchpad.net/~fwereade/juju-core/state-muw-unwatch-fix/+merge/137133
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 1
Patch Set 2 : state: MachineUnitsWatcher unwatches correct units #
Total comments: 5
Patch Set 3 : state: MachineUnitsWatcher unwatches correct units #
MessagesTotal messages: 8
|