refactor(emqx_bridge): fix var names
This commit is contained in:
parent
e31f4d6091
commit
fb3d101b3a
|
@ -50,10 +50,10 @@
|
||||||
|
|
||||||
-define(NOT_FOUND(Reason), {404, error_msg('NOT_FOUND', Reason)}).
|
-define(NOT_FOUND(Reason), {404, error_msg('NOT_FOUND', Reason)}).
|
||||||
|
|
||||||
-define(BRIDGE_NOT_FOUND(Type, Name),
|
-define(BRIDGE_NOT_FOUND(BridgeType, BridgeName),
|
||||||
?NOT_FOUND(
|
?NOT_FOUND(
|
||||||
<<"Bridge lookup failed: bridge named '", Name/binary, "' of type ",
|
<<"Bridge lookup failed: bridge named '", BridgeName/binary, "' of type ",
|
||||||
(atom_to_binary(Type))/binary, " does not exist.">>
|
(atom_to_binary(BridgeType))/binary, " does not exist.">>
|
||||||
)
|
)
|
||||||
).
|
).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue