How to pass a value from @when code to a relation?
Konstantinos Tsakalozos
kos.tsakalozos at canonical.com
Thu Jun 22 12:50:23 UTC 2017
Hi,
A relation is a good way to pass data between the related charms.
If you could share a toy-example of your code we might be able to offer
more assistance.
Thank you,
Konstantinos
On Wed, Jun 21, 2017 at 10:33 PM, fengxia <fxia1 at lenovo.com> wrote:
> Hi Juju,
>
> I'm designing an application, where charm A and B are linked by a A-B
> relation.
>
> In A there are a few states, and I want to parse a file to extract some
> values, then pass these values to charm B to consume. How do I make these
> values available to B then? via relation? or other mean?
>
> --
> Feng xia
> Engineer
> Lenovo USA
>
> Phone: 5088011794
> fxia1 at lenovo.com
>
> Lenovo.com
> Twitter | Facebook | Instagram | Blogs | Forums
>
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170622/308b59aa/attachment.html>
More information about the Juju
mailing list