$REMOTE_UNIT not found in relation-list during -joined hook
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
New
|
Undecided
|
Unassigned |
Bug Description
When running a relation-joined hook, I have a $REMOTE_UNIT and I can retrieve the other units data using relation-get. However, the remote unit is not listed in relation-list.
This causes odd behavior in relation-joined hooks. For example:
hookenv.
aggregate = [hookenv.
hookenv.
This snippet of code will set incomplete data in the relation-joined hook, but the complete set of data in the relation-changed hook.
For a real example, my master-
tags: | added: hooks relations |