25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Fix indentation of commands lines

This commit is contained in:
Badlop 2017-07-20 11:15:02 +02:00
parent 72dbb6e7c1
commit 250876ea1a

View File

@ -546,25 +546,23 @@ parent_domains(Domain) ->
get_commands_spec() -> get_commands_spec() ->
[#ejabberd_commands{ [#ejabberd_commands{
name = incoming_s2s_number, name = incoming_s2s_number, tags = [stats, s2s],
tags = [stats, s2s],
desc = "Number of incoming s2s connections on the node", desc = "Number of incoming s2s connections on the node",
policy = admin, policy = admin,
module = ?MODULE, function = incoming_s2s_number, module = ?MODULE, function = incoming_s2s_number,
args = [], result = {s2s_incoming, integer}}, args = [], result = {s2s_incoming, integer}},
#ejabberd_commands{ #ejabberd_commands{
name = outgoing_s2s_number, name = outgoing_s2s_number, tags = [stats, s2s],
tags = [stats, s2s],
desc = "Number of outgoing s2s connections on the node", desc = "Number of outgoing s2s connections on the node",
policy = admin, policy = admin,
module = ?MODULE, function = outgoing_s2s_number, module = ?MODULE, function = outgoing_s2s_number,
args = [], result = {s2s_outgoing, integer}}, args = [], result = {s2s_outgoing, integer}},
#ejabberd_commands{name = stop_all_connections, #ejabberd_commands{
tags = [s2s], name = stop_all_connections, tags = [s2s],
desc = "Stop all outgoing and incoming connections", desc = "Stop all outgoing and incoming connections",
policy = admin, policy = admin,
module = ?MODULE, function = stop_all_connections, module = ?MODULE, function = stop_all_connections,
args = [], result = {res, rescode}}]. args = [], result = {res, rescode}}].
%% TODO Move those stats commands to ejabberd stats command ? %% TODO Move those stats commands to ejabberd stats command ?
incoming_s2s_number() -> incoming_s2s_number() ->