Merge pull request #5845 from tigercl/fix/http

fix(http): fix function clause when create http connector instance
This commit is contained in:
tigercl 2021-09-29 20:38:29 +08:00 committed by GitHub
commit c854a34b63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -221,7 +221,9 @@ preproc_channels(<<"bridge:", BridgeId/binary>>, Config) ->
maps:fold(fun(ChannName, ChannConf, Acc) ->
Acc#{emqx_bridge:channel_id(BridgeType, BridgeName, egress_channels, ChannName) =>
preproc_channel_conf(ChannConf)}
end, #{}, maps:get(egress_channels, Config, #{})).
end, #{}, maps:get(egress_channels, Config, #{}));
preproc_channels(_InstId, _Config) ->
#{}.
preproc_channel_conf(#{
method := Method,