Skip to content

Commit

Permalink
Correct types on get_modstate/1 (#40)
Browse files Browse the repository at this point in the history
* Correct types on get_modstate/1

* Update for riak_pipe spec change
  • Loading branch information
martinsumner authored Sep 16, 2024
1 parent 20f4785 commit acce788
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{redbug, {git, "https://github.com/massemanet/redbug", {branch, "master"}}},
{recon, {git, "https://github.com/ferd/recon", {tag, "2.5.5"}}},
{sext, {git, "https://github.com/uwiger/sext.git", {tag, "1.8.0"}}},
{riak_pipe, {git, "https://github.com/nhs-riak/riak_pipe.git", {branch, "nhse-develop"}}},
{riak_pipe, {git, "https://github.com/nhs-riak/riak_pipe.git", {branch, "nhse-develop-3.4"}}},
{riak_dt, {git, "https://github.com/nhs-riak/riak_dt.git", {branch, "nhse-develop"}}},
{riak_api, {git, "https://github.com/nhs-riak/riak_api.git", {branch, "nhse-develop-3.4"}}},
{hyper, {git, "https://github.com/nhs-riak/hyper", {branch, "nhse-develop"}}},
Expand Down
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 acce788

Please sign in to comment.