@when('config.changed')

Marco Ceppi marco.ceppi at canonical.com
Wed Feb 17 20:46:22 UTC 2016


Relations are best served being managed by the interface layer. Which
should consume the data and raise states as appropriate.

On Wed, Feb 17, 2016 at 3:45 PM Nick Moffitt <nick.moffitt at canonical.com>
wrote:

> Cory Johns:
> > If a charm config option has changed, the state "config.changed" will
> > be set for the duration of the hook.  Additionally, specific states
> > will be set for each config option that changed; that is, if option
> > "foo" has changed, the state "config.changed.foo" will be set.
>
> Ah, this is perfectly natural syntax, and I have been wishing for
> something along this line for a while!
>
> Could we do something similar for relation values, or is the namespace
> just too complicated with all the dimensions it affords?
>
> --
> Nick Moffitt
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160217/d8d5e2bd/attachment.html>


More information about the Juju mailing list