@when('config.changed')
Nick Moffitt
nick.moffitt at canonical.com
Wed Feb 17 21:01:59 UTC 2016
That's a very good point.
Marco Ceppi:
> 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
> >
--
Nick Moffitt
More information about the Juju
mailing list