Merge pull request #5361 from turtleDeng/plugins/module-attr

chore(plugins): delete emqx_plugins module attributes
This commit is contained in:
tigercl 2021-07-30 15:54:20 +08:00 committed by GitHub
commit 305142f991
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 4 additions and 16 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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