test: fix bad binary pattern
This commit is contained in:
parent
7b601bf970
commit
8e514680d8
|
@ -383,7 +383,7 @@ config(Args) ->
|
||||||
#{atom_key => true}
|
#{atom_key => true}
|
||||||
),
|
),
|
||||||
InstId = maps:get("instance_id", Args),
|
InstId = maps:get("instance_id", Args),
|
||||||
<<"bridge:", BridgeId>> = InstId,
|
<<"bridge:", BridgeId/binary>> = InstId,
|
||||||
Parsed#{bridge_name => erlang:element(2, emqx_bridge_resource:parse_bridge_id(BridgeId))}.
|
Parsed#{bridge_name => erlang:element(2, emqx_bridge_resource:parse_bridge_id(BridgeId))}.
|
||||||
|
|
||||||
hocon_config(Args) ->
|
hocon_config(Args) ->
|
||||||
|
|
Loading…
Reference in New Issue