<div dir="ltr">On Fri, May 31, 2013 at 7:50 PM, Gustavo Niemeyer <span dir="ltr"><<a href="mailto:gustavo@niemeyer.net" target="_blank">gustavo@niemeyer.net</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, May 31, 2013 at 6:46 PM, Andreas Hasenack <<a href="mailto:andreas@canonical.com">andreas@canonical.com</a>> wrote:<br>


> while playing with hooks I reached this bit in a config-changed hook:<br>
</div>(...)<br>
<div class="im">> Why do I need to specify the unit id when I have the relation id already?<br>
<br>
</div>A single relation can have multiple units, and since you are in a<br>
config-changed context, there's no implicit hint about which remote<br>
unit you're talking about.<br>
<br></blockquote><div><br></div><div style>But aren't the key-value pairs that I set in the relation the same for all units?</div></div></div></div>