Call ha_relation_joined() when upgrading the charm
This commit is contained in:
parent
738ac3bebf
commit
af06d3ff42
@ -163,6 +163,10 @@ def config_changed():
|
||||
for unit in related_units(r_id):
|
||||
shared_db_changed(r_id, unit)
|
||||
|
||||
if relation_ids('ha'):
|
||||
# make sure all the HA resources are (re)created
|
||||
ha_relation_joined()
|
||||
|
||||
|
||||
@hooks.hook('cluster-relation-joined')
|
||||
def cluster_joined(relation_id=None):
|
||||
|
Loading…
x
Reference in New Issue
Block a user