/srv/irclogs.ubuntu.com/2021/01/09/#juju.txt

Laneyhey, need a bit of help. I've got a unit, and I need to plug the IP address of a haproxy (also a unit) into the system for $reasons. I figure that relating the two is a good way to do this, so I made a "requires: ...: interface: juju-info" on my charm. But when I relate them, "network-get <my relation name>" is returning my *local* IP and not the IP of the thing I just got related to. I thought it would give23:56
Laneyme the IP I can use to connect to the other ...23:57
Laney... side. Any ideas what I'm doing wrong?23:57
Laneyweird wrapping, sorry about that!23:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!