From 44a665680ebc9db236b39c4c2dac50d800e859e1 Mon Sep 17 00:00:00 2001 From: Martin Sumner Date: Thu, 12 Sep 2024 17:10:24 +0100 Subject: [PATCH] Correct types on get_modstate/1 --- src/riak_kv_vnode.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}.