Просмотр исходного кода

docs: fix stale comments and dates

Thales Macedo Garitezi 1 год назад
Родитель
Сommit
aa416cc0ad

+ 1 - 1
apps/emqx_message_transformation/BSL.txt

@@ -2,7 +2,7 @@ Business Source License 1.1
 
 Licensor:             Hangzhou EMQ Technologies Co., Ltd.
 Licensed Work:        EMQX Enterprise Edition
-                      The Licensed Work is (c) 2023
+                      The Licensed Work is (c) 2024
                       Hangzhou EMQ Technologies Co., Ltd.
 Additional Use Grant: Students and educators are granted right to copy,
                       modify, and create derivative work for research

+ 2 - 3
apps/emqx_message_transformation/src/emqx_message_transformation.erl

@@ -49,9 +49,9 @@
 -define(TRANSFORMATIONS_CONF_PATH, [?CONF_ROOT, transformations]).
 
 -type transformation_name() :: binary().
-%% TODO
+%% TODO: make more specific typespec
 -type transformation() :: #{atom() => term()}.
-%% TODO
+%% TODO: make more specific typespec
 -type variform() :: any().
 -type operation() :: #{key := [binary(), ...], value := variform()}.
 -type qos() :: 0..2.
@@ -174,7 +174,6 @@ on_message_publish(Message = #message{topic = Topic, headers = Headers}) ->
         Transformations ->
             case run_transformations(Transformations, Message) of
                 #message{} = FinalMessage ->
-                    %% FIXME: must ensure final payload is a binary!!  Check this.
                     emqx_metrics:inc('messages.transformation_succeeded'),
                     {ok, FinalMessage};
                 drop ->

+ 1 - 1
apps/emqx_schema_validation/BSL.txt

@@ -2,7 +2,7 @@ Business Source License 1.1
 
 Licensor:             Hangzhou EMQ Technologies Co., Ltd.
 Licensed Work:        EMQX Enterprise Edition
-                      The Licensed Work is (c) 2023
+                      The Licensed Work is (c) 2024
                       Hangzhou EMQ Technologies Co., Ltd.
 Additional Use Grant: Students and educators are granted right to copy,
                       modify, and create derivative work for research