Explorar el Código

fix: match macro variables

Stefan Strigler hace 3 años
padre
commit
680a4362d1
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      apps/emqx_bridge/src/emqx_bridge_api.erl

+ 2 - 2
apps/emqx_bridge/src/emqx_bridge_api.erl

@@ -50,8 +50,8 @@
 
 
 -define(BRIDGE_NOT_FOUND(Type, Name),
 -define(BRIDGE_NOT_FOUND(Type, Name),
     ?NOT_FOUND(
     ?NOT_FOUND(
-        <<"Bridge lookup failed: bridge named '", BridgeName/binary, "' of type ",
-            (atom_to_binary(BridgeType))/binary, " does not exist.">>
+        <<"Bridge lookup failed: bridge named '", Name/binary, "' of type ",
+            (atom_to_binary(Type))/binary, " does not exist.">>
     )
     )
 ).
 ).