fix(gateway): source-neutral log wording for relay-exclusive sweep
sol-reviewer MINOR: the _enabled_explicit marker is set by config.yaml, gateway.json, and dashboard PUTs alike, so the WARNING no longer claims config.yaml specifically. Also names the opt-out env var in the message so an operator seeing the WARNING knows the escape hatch.
This commit is contained in:
+4
-2
@@ -2793,8 +2793,10 @@ def _apply_env_overrides(config: GatewayConfig) -> None:
|
||||
logger.warning(
|
||||
"Relay connector is configured via GATEWAY_RELAY_URL; "
|
||||
"disabling directly-connected platform '%s' even though "
|
||||
"it is explicitly enabled in config.yaml. All messaging "
|
||||
"goes through the connector on this deployment.",
|
||||
"it is explicitly enabled in this profile's configuration. "
|
||||
"All messaging goes through the connector on this "
|
||||
"deployment. Set GATEWAY_RELAY_ALLOW_DIRECT_PLATFORMS=true "
|
||||
"to keep direct platforms alongside the relay.",
|
||||
platform.value,
|
||||
)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user