112
113
@hooks.hook("container-relation-departed")
114
115
"""Stop managing the removed unit with Landscape.
116
117
If the relation is removed, the registration will be cleared, the
117
118
computer title unset and the juju info file removed, so that we
118
119
won't try to register again when the config-changed hook is fired.
121
121
landscape_broker.clear_registration(),
122
122
juju_info_path = os.path.join(
123
123
landscape_broker.config.data_path, "juju-info.json")