How to count relations?
fengxia
fxia1 at lenovo.com
Wed Jun 7 15:22:44 UTC 2017
Hi Juju,
I'm building two charms and linking them with one relation, one charm
("A") will provide and the other ("B") will require.
The deployment will have one "A" and three "B"s. How do I know all three
Bs have joined? I'm thinking to use a counter in A's relation, then at
relation-joined hook by B to add this counter. But set_remote() and
set_local() didn't work. Not sure what's the right way to achieve this?
--
Feng xia
Engineer
Lenovo USA
Phone: 5088011794
fxia1 at lenovo.com
Lenovo.com
Twitter | Facebook | Instagram | Blogs | Forums
9
More information about the Juju
mailing list