From 963d63b8995a020050be0ad7da1583d0b93d6869 Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Fri, 4 Aug 2023 11:13:09 -0300 Subject: [PATCH] refactor: rename temporary name Co-authored-by: Zaiming (Stone) Shi --- apps/emqx_bridge/src/emqx_bridge_resource.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/emqx_bridge/src/emqx_bridge_resource.erl b/apps/emqx_bridge/src/emqx_bridge_resource.erl index 9a124c8c1..c12c5bef9 100644 --- a/apps/emqx_bridge/src/emqx_bridge_resource.erl +++ b/apps/emqx_bridge/src/emqx_bridge_resource.erl @@ -265,8 +265,8 @@ create_dry_run(Type, Conf0) -> TypeBin = bin(Type), TypeAtom = safe_atom(Type), Conf1 = maps:without([<<"name">>], Conf0), - RawConf = #{<<"bridges">> => #{TypeBin => #{<<"a">> => Conf1}}}, - #{bridges := #{TypeAtom := #{a := Conf}}} = + RawConf = #{<<"bridges">> => #{TypeBin => #{<<"temp_name">> => Conf1}}}, + #{bridges := #{TypeAtom := #{temp_name := Conf}}} = hocon_tconf:check_plain( emqx_bridge_schema, RawConf,