fix(connector): ensure webhook bridge convert to http connector

This commit is contained in:
Zaiming (Stone) Shi 2023-12-01 11:40:16 +01:00
parent 90b7486624
commit 1a78e7ae79
1 changed files with 4 additions and 0 deletions

View File

@ -103,6 +103,10 @@ schema_modules() ->
[emqx_bridge_http_schema].
-endif.
%% @doc Return old bridge(v1) and/or connector(v2) type
%% from the latest connector type name.
connector_type_to_bridge_types(http) ->
[webhook, http];
connector_type_to_bridge_types(azure_event_hub_producer) ->
[azure_event_hub_producer];
connector_type_to_bridge_types(confluent_producer) ->