Descriptionapi(server)/uniter: Added DestroyAllSubordinates
Because the uniter needs to remove both the
(principal) unit it's running with, and any
of its subordinates, this change was needed.
Added a new API call: DestroyAllSubordinates(),
as agreed online. We need to change the uniter
code to use it instead of Destroy() when dealing
with subordinates (uniter/modes.go:298), so added
a TODO for that.
https://code.launchpad.net/~dimitern/juju-core/113-api-uniter-unit-destroy-fix/+merge/183474
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 2
Patch Set 2 : api(server)/uniter: Added DestroyAllSubordinates #
MessagesTotal messages: 3
|