On 28 January 2016 at 21:42, Cory Johns <[email protected]> wrote: > This is awesome. A very clean interface for dealing with leadership in > layered charms. > > I also very much like the pattern of having states that notify of changes to > the leadership settings and think this pattern could apply well to config > settings. One addition I would suggest to that pattern would be to also > have a blanket `leadership.changed` state that would be set when *any* value > was changed. This is mostly to handle the case where you need to react to > any of a set of multiple values changing. Thoughts?
Sure. Its trivial to add, and if people find it useful great. It does mean your handlers will get invoked if another layer changes leadership settings, which I guess may be exactly what you want to happen. -- Stuart Bishop <[email protected]> -- Juju mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
