fix: make static check happy

This commit is contained in:
JimMoen 2023-05-26 10:34:15 +08:00
parent 1ba65539c6
commit a3b77563ba
No known key found for this signature in database
GPG Key ID: 87A520B4F76BA86D
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ list() ->
list(Enable) -> list(Enable) ->
ets:match_object(?TRACE, #?TRACE{enable = Enable, _ = '_'}). ets:match_object(?TRACE, #?TRACE{enable = Enable, _ = '_'}).
-spec create([{Key :: binary(), Value :: binary()}] | #{atom() => binary()}) -> -spec create([{Key :: binary(), Value :: any()}] | #{atom() => any()}) ->
{ok, #?TRACE{}} {ok, #?TRACE{}}
| {error, | {error,
{duplicate_condition, iodata()} {duplicate_condition, iodata()}