Descriptionworker/cleaner: use new NotifyWorker structure
Just reimplements the Cleaner worker as a WatchHandler passed to the
NotifyWorker. Cleaner was pretty simple, but I'm still able to remove about 20
lines of boilerplate. (And replace it with heavily tested logic.)
https://code.launchpad.net/~jameinel/juju-core/use-notify-worker/+merge/173357
Requires: https://code.launchpad.net/~jameinel/juju-core/notify-worker/+merge/173354
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : worker/cleaner: use new NotifyWorker structure #
MessagesTotal messages: 5
|