chore(plugins): delete emqx_plugins module attributes

This commit is contained in:
Turtle 2021-07-30 14:32:01 +08:00
parent ef1b591532
commit 9e97de04c9
7 changed files with 4 additions and 16 deletions

View File

@ -21,8 +21,6 @@
-behaviour(application). -behaviour(application).
-emqx_plugin(?MODULE).
%% Application callbacks %% Application callbacks
-export([ start/2 -export([ start/2
, stop/1 , stop/1
@ -56,4 +54,4 @@ initialize_authenticators([#{name := Name} = AuthenticatorConfig | More]) ->
initialize_authenticators(More); initialize_authenticators(More);
{error, Reason} -> {error, Reason} ->
?LOG(error, "Failed to create authenticator '~s': ~p", [Name, Reason]) ?LOG(error, "Failed to create authenticator '~s': ~p", [Name, Reason])
end. end.

View File

@ -16,8 +16,6 @@
-module(emqx_bridge_mqtt_app). -module(emqx_bridge_mqtt_app).
-emqx_plugin(bridge).
-behaviour(application). -behaviour(application).
-export([start/2, stop/1]). -export([start/2, stop/1]).

View File

@ -18,8 +18,6 @@
-behaviour(application). -behaviour(application).
-emqx_plugin(?MODULE).
-export([ start/2 -export([ start/2
, stop/1 , stop/1
]). ]).

View File

@ -18,8 +18,6 @@
-behaviour(application). -behaviour(application).
-emqx_plugin(?MODULE).
-define(APP, emqx_management). -define(APP, emqx_management).
-export([ start/2 -export([ start/2

View File

@ -18,9 +18,9 @@
-behaviour(application). -behaviour(application).
-export([start/2]). -export([ start/2
, stop/1
-export([stop/1]). ]).
start(_Type, _Args) -> start(_Type, _Args) ->
{ok, Sup} = emqx_modules_sup:start_link(), {ok, Sup} = emqx_modules_sup:start_link(),

View File

@ -18,8 +18,6 @@
-behaviour(application). -behaviour(application).
-emqx_plugin(?MODULE).
-export([ start/2 -export([ start/2
, stop/1 , stop/1
]). ]).

View File

@ -18,8 +18,6 @@
-behaviour(application). -behaviour(application).
-emqx_plugin(?MODULE).
-export([start/2]). -export([start/2]).
-export([stop/1]). -export([stop/1]).