Comment 15 for bug 1417874

Revision history for this message
Achilleas Anagnostopoulos (achilleasa) wrote :

PR https://github.com/juju/juju/pull/11356 targets the develop branch and exposes the departing unit when invoking xyz-relation-departed hooks via a new envvar called JUJU_DEPARTING_UNIT. Charms can compare this value to JUJU_REMOTE_UNIT to see if they are the ones going away.