Add shared-db-relation-departed hook to handle the scale-down scenario

of a mongodb server.
This commit is contained in:
Billy Olsen
2014-12-03 13:42:37 -07:00
parent 89db5ed239
commit f8962a5c94

View File

@@ -81,6 +81,7 @@ def db_joined():
@hooks.hook("amqp-relation-changed",
"shared-db-relation-changed",
"shared-db-relation-departed",
"identity-service-relation-changed")
@restart_on_change(restart_map())
def any_changed():