Descriptionstate: Unit.WatchConfigSettings
state.Settings is bad, because it allows any client the ability to
read/change the associated document without any sort of validation;
and sending them down a channel is independently bad because the
documents don't contain the right data for the unit context.
So, I just made it an EntityWatcher instead. Works just as well, is
rather simpler, doesn't expose massive potential bugs. Win!
https://code.launchpad.net/~fwereade/juju-core/config-4-state-unit-settings-watcher/+merge/168578
Requires: https://code.launchpad.net/~fwereade/juju-core/config-3-state-unit-settings-rename/+merge/168577
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 2
Patch Set 2 : state: Unit.WatchConfigSettings #
MessagesTotal messages: 5
|