fix(connector): ensure webhook bridge convert to http connector
This commit is contained in:
parent
90b7486624
commit
1a78e7ae79
|
@ -103,6 +103,10 @@ schema_modules() ->
|
||||||
[emqx_bridge_http_schema].
|
[emqx_bridge_http_schema].
|
||||||
-endif.
|
-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) ->
|
connector_type_to_bridge_types(azure_event_hub_producer) ->
|
||||||
[azure_event_hub_producer];
|
[azure_event_hub_producer];
|
||||||
connector_type_to_bridge_types(confluent_producer) ->
|
connector_type_to_bridge_types(confluent_producer) ->
|
||||||
|
|
Loading…
Reference in New Issue