Review code

This commit is contained in:
turtled 2019-02-28 16:56:44 +08:00
parent 8792f7e02b
commit df97eb0007
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ info(#state{peername = Peername,
{conn_state, running}, {conn_state, running},
{peername, Peername}, {peername, Peername},
{sockname, Sockname}], {sockname, Sockname}],
lists:append([ConnInfo, ProtoInfo]). lists:append([ConnInfo, ProtoInfo]).
%% for dashboard %% for dashboard
attrs(WSPid) when is_pid(WSPid) -> attrs(WSPid) when is_pid(WSPid) ->