Descriptionworker: Use WatchForEnvironConfigChanges()
This is a prerequisite step to implementing the
rest of the provisioner API. It changes the two
workers that use an EnvironConfigWatcher (currently
only the provisioner and firewaller) to use a
NotifyWatcher, returned by WatchForEnvironChanges(),
and getting the actual environment configuration
when a change is detected.
As a drive-by fix, a weird test helper in the
provisioner tests was fixed to invalidate an
environment configuration in a more obvious way.
https://code.launchpad.net/~dimitern/juju-core/140-provisioner-watchforenvironconfigchanges/+merge/186306
Requires: https://code.launchpad.net/~dimitern/juju-core/139-apiserver-provisioner/+merge/186019
(do not edit description out of merge proposal)
Patch Set 1 #
MessagesTotal messages: 3
|