On Tue, Mar 15, 2016 at 4:36 PM, Tom Barber <t...@analytical-labs.com> wrote:

> If I want to wait for a message is it something from the right side of
> status_set for example:
> https://github.com/OSBI/layer-pdi/blob/master/reactive/pdi.py#L83 
> 'Configuration
> has changed, restarting Carte.'?
>

That's correct.  And note that if you just give a plain string to
wait_for_messages for a given service, it will be an exact, full string
match.  But you can also give regular expressions, as shown in the example.
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to