mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
system: fix PHP error and annotate a tiny bit more #7027
This commit is contained in:
parent
c0bee56c10
commit
ce9ed275d0
@ -49,9 +49,9 @@ foreach (glob("/tmp/delete_route_*.todo") as $filename) {
|
||||
system_routing_configure(true, null, !$recover_only);
|
||||
|
||||
if ($recover_only) {
|
||||
foreach (dpinger_status() as $status) {
|
||||
foreach (return_gateways_status() as $status) {
|
||||
if ($status['status'] == 'down') {
|
||||
/* try to recover monitors stuck in down state */
|
||||
/* try to recover monitors stuck in down state ignoring "force_down" */
|
||||
plugins_configure('monitor', true, [$status['name']]);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user