Merge pull request #12642 from thalesmg/ds-fix-drop-typespec-m-20240304

fix(ds): fix `drop_generation` typespec
This commit is contained in:
Thales Macedo Garitezi 2024-03-05 09:11:08 -03:00 committed by GitHub
commit a840925a50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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