Merge pull request #9716 from zmstone/0110-fix-mqtt-bridge-config-coverter

fix: upgrade bridge config converter
This commit is contained in:
Zaiming (Stone) Shi 2023-01-10 22:31:12 +01:00 committed by GitHub
commit 8f01ee41d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View File

@ -122,7 +122,9 @@ fields(bridges) ->
#{
desc => ?DESC("bridges_mqtt"),
required => false,
converter => fun emqx_bridge_mqtt_config:upgrade_pre_ee/1
converter => fun(X, _HoconOpts) ->
emqx_bridge_mqtt_config:upgrade_pre_ee(X)
end
}
)}
] ++ ee_fields_bridges();

View File

@ -0,0 +1 @@
MQTT bridge config compatibility fix. The config created from before v5.0.12 may encounter a compatibility issue after upgraded to v5.0.13.

View File

@ -0,0 +1 @@
修复 v5.0.12 之前的 MQTT 桥接配置在 升级到 v5.0.13 后 HTTP API 查询 桥接配置时的一个兼容性问题。