Merge pull request #12642 from thalesmg/ds-fix-drop-typespec-m-20240304
fix(ds): fix `drop_generation` typespec
This commit is contained in:
commit
a840925a50
|
@ -263,7 +263,7 @@ list_generations_with_lifetimes(DB) ->
|
|||
Mod = ?module(DB),
|
||||
call_if_implemented(Mod, list_generations_with_lifetimes, [DB], #{}).
|
||||
|
||||
-spec drop_generation(db(), generation_rank()) -> ok | {error, _}.
|
||||
-spec drop_generation(db(), ds_specific_generation_rank()) -> ok | {error, _}.
|
||||
drop_generation(DB, GenId) ->
|
||||
Mod = ?module(DB),
|
||||
case erlang:function_exported(Mod, drop_generation, 2) of
|
||||
|
|
Loading…
Reference in New Issue