What are the best practices for stop hook handling?
rye.terrell at canonical.com
Thu Oct 20 22:58:02 UTC 2016
Thanks; I see what you mean - I'll see if I can find any examples.
On Thu, Oct 20, 2016 at 5:33 PM, Free Ekanayaka <
free.ekanayaka at canonical.com> wrote:
> On 20 October 2016 at 23:16, Rye Terrell <rye.terrell at canonical.com>
>> > Do you have a real world example at hand?
>> No, why?
> Easier to reason around a specific concrete case than talk about
> theoretical situations. After looking at a few concrete situations we can
> come up with a more realistic understanding of the problem and figure some
> One thing that I would note though, is that if you have to co-located
> charms sharing a service, chances are that you might want to make that
> shared service a (colocated) charm by itself, which relates to the two
> consuming charms. In that situation there's no problem at all for the stop
> hook. This is just an waving example, as said, concrete cases would help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Juju