mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-03 01:06:39 +00:00
@@ -213,9 +213,11 @@ export async function updateTarget(
|
|||||||
|
|
||||||
// When health check is disabled, reset hcHealth to "unknown"
|
// When health check is disabled, reset hcHealth to "unknown"
|
||||||
// to prevent previously unhealthy targets from being excluded
|
// to prevent previously unhealthy targets from being excluded
|
||||||
|
// Also when the site is not a newt, set hcHealth to "unknown"
|
||||||
const hcHealthValue =
|
const hcHealthValue =
|
||||||
parsedBody.data.hcEnabled === false ||
|
parsedBody.data.hcEnabled === false ||
|
||||||
parsedBody.data.hcEnabled === null
|
parsedBody.data.hcEnabled === null ||
|
||||||
|
site.type !== "newt"
|
||||||
? "unknown"
|
? "unknown"
|
||||||
: undefined;
|
: undefined;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user