Descriptionstate/api/upgrader: Implement WatchAPIVersion
This lets us create a client side params.NotifyWatcher in response to
Upgrader.WatchAPIVersion.
To make the testing sane, I exposed a way to trigger Sync in the API
Server (running in the dummy environment). These are the same Sync
calls that NotifyWatcherC was doing, except it needs to be done on a
different State object, which is not easily accessible to testing code.
https://code.launchpad.net/~jameinel/juju-core/upgrader-api-client-watcher/+merge/173511
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : state/api/upgrader: Implement WatchAPIVersion #Patch Set 3 : state/api/upgrader: Implement WatchAPIVersion #
Total comments: 9
Patch Set 4 : state/api/upgrader: Implement WatchAPIVersion #
Total comments: 1
Patch Set 5 : state/api/upgrader: Implement WatchAPIVersion #
MessagesTotal messages: 8
|