The return value of ets is generally 'true'
This commit is contained in:
parent
aca3759e45
commit
c1b9038447
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ generate_filename(DataDir, Prefix, N) ->
|
|||
maybe_cleanup(_Tid, _Key, false) ->
|
||||
ok;
|
||||
maybe_cleanup(Tid, Key, true) ->
|
||||
ok = ets:delete(Tid, Key).
|
||||
true = ets:delete(Tid, Key).
|
||||
|
||||
|
||||
-ifdef(TEST).
|
||||
|
|
Loading…
Reference in a new issue