Skip to content

Commit

Permalink
Correct types on get_modstate/1
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsumner committed Sep 12, 2024
1 parent 20f4785 commit 44a6656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/riak_kv_vnode.erl
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ when_loading_complete(AAECntrl, Preflists, PreflistFun, OnlyIfBroken) ->


%% @doc Reveal the underlying module state for testing
-spec(get_modstate(state()) -> {atom(), state()}).
-spec get_modstate(state()) -> {module(), term()}.
get_modstate(_State=#state{mod=Mod, modstate=ModState}) ->
{Mod, ModState}.

Expand Down

0 comments on commit 44a6656

Please sign in to comment.