Просмотр исходного кода

fix(iotdb): fixed an exception of `Test connectivity` with IotDB

firest 1 год назад
Родитель
Сommit
00537a3d2c

+ 2 - 0
apps/emqx_bridge_iotdb/src/emqx_bridge_iotdb_connector_info.erl

@@ -57,6 +57,8 @@ driver_union_selector({value, Value}) ->
     case Value of
         #{<<"driver">> := <<"thrift">>} ->
             [ref(?DRIVER_THRIFT, "config")];
+        #{<<"driver">> := thrift} ->
+            [ref(?DRIVER_THRIFT, "config")];
         _ ->
             [ref(?DRIVER_REST, "config")]
     end.

+ 2 - 0
changes/ce/fix-13851.en.md

@@ -0,0 +1,2 @@
+Fixed an exception of `Test connectivity` with the IotDB Thrift driver.
+