Why is unit id mandatory in config-changed context?

Andreas Hasenack andreas at canonical.com
Fri May 31 21:46:53 UTC 2013


Hi,

while playing with hooks I reached this bit in a config-changed hook:
2013/05/31 21:19:57 INFO worker/uniter/jujuc: running hook tool
"relation-get" ["-r" "test-r:1"]
2013/05/31 21:19:57 DEBUG worker/uniter/jujuc: hook context id
"andreas-client/1:config-changed:1660150820142556165"; dir
"/var/lib/juju/agents/unit-andreas-client-1/charm"
2013/05/31 21:19:57 INFO worker/uniter: HOOK error: no unit id specified

Why do I need to specify the unit id when I have the relation id already?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20130531/329ab84d/attachment.html>


More information about the Juju mailing list