~dave-cheney/juju-core/033-testing-mgo-panic

Viewing all changes in revision 697.

  • Committer: William Reade
  • Author(s): William Reade
  • Date: 2012-10-30 10:49:22 UTC
  • mfrom: (681.7.3 juju-core)
  • Revision ID: fwereade@gmail.com-20121030104922-027svjzgkmzfjvc5
state: drop obsolete relation lifecycle

drop:

* Relation.EnsureDying
* Relation.EnsureDead
* State.RemoveRelation

...and use Relation.Destroy and RelationUnit.LeaveScope instead throughout.

R=niemeyer
CC=
https://codereview.appspot.com/6812047

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: