~dpb/charms/precise/landscape-client/1273788-change-relation-interface

Viewing all changes in revision 35.

Merged relation-depart-no-register [r=adam-collard,tribaal] [f=1255972].

Clear relation data when departing the relation.

Delete all data related to the container relation when departing it. The
computer title and the juju info file contains information about the remote
unit that landscape-client is related to. If the relation is removed, that
information is not valid anymore and should be removed.

This prevents the client from trying to register again when the config-changed
hook is run, which can happen when services are destroyed.

I also changed the way hooks are run, so that tests and the real Juju process
runs hooks the same way.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: