From 842a0770a8ccc55a1561679161aa6b54346efbe6 Mon Sep 17 00:00:00 2001 From: Abhimanyu Saharan Date: Wed, 25 Feb 2026 03:37:05 +0530 Subject: [PATCH] Update backend/app/services/openclaw/provisioning.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- backend/app/services/openclaw/provisioning.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/backend/app/services/openclaw/provisioning.py b/backend/app/services/openclaw/provisioning.py index ed709970..f80a72a4 100644 --- a/backend/app/services/openclaw/provisioning.py +++ b/backend/app/services/openclaw/provisioning.py @@ -113,13 +113,8 @@ def _channel_heartbeat_visibility_patch(config_data: dict[str, Any]) -> dict[str """Build a minimal patch ensuring channel default heartbeat visibility is configured. Gateways may have existing channel config; we only want to fill missing keys rather than - overwrite operator intent. - - Returns: - - `None` if no change is needed - - a shallow patch dict suitable for a config merge otherwise - """ - + overwrite operator intent. Returns `None` if no change is needed, otherwise returns a shallow + patch dict suitable for a config merge.""" channels = config_data.get("channels") if not isinstance(channels, dict): return {"defaults": {"heartbeat": DEFAULT_CHANNEL_HEARTBEAT_VISIBILITY.copy()}}