From 08f1df592d1a948d64410d4445c24b883c0be844 Mon Sep 17 00:00:00 2001 From: Karl Nilsson Date: Wed, 27 Nov 2024 11:36:35 +0000 Subject: [PATCH] fix a type spec --- src/ra_log_read_plan.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ra_log_read_plan.erl b/src/ra_log_read_plan.erl index c99d2801..16d69034 100644 --- a/src/ra_log_read_plan.erl +++ b/src/ra_log_read_plan.erl @@ -11,7 +11,7 @@ info/1]). -spec execute(ra_log:read_plan(), undefined | ra_flru:state()) -> - {#{ra:index() => Command :: ra_server:command()}, ra_flru:state()}. + {#{ra:index() => Command :: term()}, ra_flru:state()}. execute(Plan, Flru) -> ra_log:execute_read_plan(Plan, Flru, fun ra_server:transform_for_partial_read/3).