fix(monitor): register sentinel recovery findings
This commit is contained in:
@@ -529,11 +529,11 @@ function renderWebProbeSentinelConfigPlan(value: WebProbeSentinelConfigPlan): st
|
||||
"",
|
||||
"Blocked detail:",
|
||||
sentinelTable(["KIND", "VALUE"], [
|
||||
...value.conflicts.map((item) => ["conflict", short(item, 140)]),
|
||||
...value.conflicts.map((item) => ["conflict", item]),
|
||||
...value.refs.flatMap((ref) => [
|
||||
...(ref.error === null ? [] : [[`${ref.key}.error`, short(ref.error, 140)]]),
|
||||
...(ref.missingFields.length === 0 ? [] : [[`${ref.key}.missing`, short(ref.missingFields.join(","), 140)]]),
|
||||
...(ref.conflicts.length === 0 ? [] : [[`${ref.key}.conflict`, short(ref.conflicts.join(" | "), 140)]]),
|
||||
...(ref.error === null ? [] : [[`${ref.key}.error`, ref.error]]),
|
||||
...(ref.missingFields.length === 0 ? [] : [[`${ref.key}.missing`, ref.missingFields.join(",")]]),
|
||||
...(ref.conflicts.length === 0 ? [] : [[`${ref.key}.conflict`, ref.conflicts.join(" | ")]]),
|
||||
]),
|
||||
]),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user