mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-23 13:55:43 +02:00
Call pandoraha_sync_node from pandora_ha.
This commit is contained in:
parent
35a1c2332d
commit
c10130ce63
@ -642,6 +642,9 @@ sub ha_main_pandora($) {
|
||||
|
||||
# Execute resync actions.
|
||||
enterprise_hook('pandoraha_resync_dbs', [$conf, $dbh, $DB_Host, \@HA_DB_Hosts]);
|
||||
|
||||
# Synchronize nodes.
|
||||
enterprise_hook('pandoraha_sync_node', [$conf, $dbh]);
|
||||
};
|
||||
log_message($conf, 'WARNING', $@) if ($@);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user