Fix default tuple.
This commit is contained in:
parent
e9145c344c
commit
17cfdcd04f
1 changed files with 2 additions and 2 deletions
|
@ -345,9 +345,9 @@ status(#state{status_cursor=Cursor}) ->
|
||||||
{ok, Stats} ->
|
{ok, Stats} ->
|
||||||
Stats;
|
Stats;
|
||||||
{error, {eperm, _}} -> % TODO: review/fix this logic
|
{error, {eperm, _}} -> % TODO: review/fix this logic
|
||||||
[];
|
{ok, []};
|
||||||
_ ->
|
_ ->
|
||||||
[]
|
{ok, []}
|
||||||
end.
|
end.
|
||||||
|
|
||||||
%% @doc Register an asynchronous callback
|
%% @doc Register an asynchronous callback
|
||||||
|
|
Loading…
Reference in a new issue