chore(#2038): scope observe_mcp_health to pub(crate) per review
This commit is contained in:
parent
d7d46d347c
commit
4287435696
1 changed files with 1 additions and 1 deletions
|
|
@ -680,7 +680,7 @@ impl Bus {
|
||||||
/// after a core bounce) went silent. Emitted every degraded turn on
|
/// after a core bounce) went silent. Emitted every degraded turn on
|
||||||
/// purpose: whether it persists across fresh turns is the signal that
|
/// purpose: whether it persists across fresh turns is the signal that
|
||||||
/// picks the real fix.
|
/// picks the real fix.
|
||||||
pub fn observe_mcp_health(&self, v: &serde_json::Value) {
|
pub(crate) fn observe_mcp_health(&self, v: &serde_json::Value) {
|
||||||
if v.get("type").and_then(|t| t.as_str()) != Some("system")
|
if v.get("type").and_then(|t| t.as_str()) != Some("system")
|
||||||
|| v.get("subtype").and_then(|s| s.as_str()) != Some("init")
|
|| v.get("subtype").and_then(|s| s.as_str()) != Some("init")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue