Add logging.
This commit is contained in:
parent
34ae1e2642
commit
12a8b61489
@ -148,6 +148,7 @@ def db_changed():
|
||||
|
||||
if eligible_leader(CLUSTER_RES):
|
||||
migrate_database()
|
||||
log('Triggering remote cloud-compute restarts.')
|
||||
[compute_joined(rid=rid, remote_restart=True)
|
||||
for rid in relation_ids('cloud-compute')]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user