refactor: remove generic mqtt enable alias

This commit is contained in:
lingniu
2026-07-01 08:56:59 +08:00
parent 9db8b15ae3
commit 7c51c83220
2 changed files with 69 additions and 2 deletions

View File

@@ -14,8 +14,7 @@ final class MqttInboundEnabledCondition implements Condition {
if (direct != null) {
return direct;
}
return isTrue(env.getProperty("MQTT_ENABLED"))
|| isTrue(env.getProperty("YUTONG_MQTT_ENABLED"));
return isTrue(env.getProperty("YUTONG_MQTT_ENABLED"));
}
private static boolean isTrue(String value) {