diff --git a/src/riak_kv_vnode.erl b/src/riak_kv_vnode.erl index 97c2f359c..6cbf33845 100644 --- a/src/riak_kv_vnode.erl +++ b/src/riak_kv_vnode.erl @@ -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}.