Add shared-db-relation-departed hook to handle the scale-down scenario
of a mongodb server.
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user