Przeglądaj źródła

style: fix variable name style

Kjell Winblad 2 lat temu
rodzic
commit
8a3fccb330

+ 1 - 1
lib-ee/emqx_ee_connector/src/emqx_ee_connector_mongodb.erl

@@ -148,7 +148,7 @@ create_mapping_of_references_to_tuple_values(Message) ->
                 Ref0 = emqx_guid:to_hexstr(emqx_guid:gen()),
                 Ref0 = emqx_guid:to_hexstr(emqx_guid:gen()),
                 Ref = <<"MONGO_DATE_REF_", Ref0/binary>>,
                 Ref = <<"MONGO_DATE_REF_", Ref0/binary>>,
                 maps:put(Ref, Value, TupleMap);
                 maps:put(Ref, Value, TupleMap);
-            (_key, _value, TupleMap) ->
+            (_Key, _Value, TupleMap) ->
                 TupleMap
                 TupleMap
         end,
         end,
         #{},
         #{},