Fixed typo

This commit is contained in:
XGhozt 2025-03-24 21:33:27 -07:00
parent 4042085fbb
commit b8f3541a30

View file

@ -1777,11 +1777,11 @@ class Monitor extends BeanModel {
]);
if (healthCheckMonitor) {
return healthCheckMonitor.id === UP;
return healthCheckMonitor.status === UP;
}
// Default to indicative of being healthy, this shouldn't happen
// Better to be safe if we can't find the selector monitor, it may have been deleted
// Better to be safe if we can't find the selected monitor, it may have been deleted
return true;
}
}