Skip to content

Commit 30e1482

Browse files
committed
reset
1 parent 063b260 commit 30e1482

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/rabbit/src/rabbit_khepri.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,8 +602,8 @@ force_reset() ->
602602
case rabbit:is_running() of
603603
false ->
604604
ok = khepri:stop(?RA_CLUSTER_NAME),
605-
DataDir = maps:get(data_dir, ra_system:fetch(coordination)),
606-
ok = ra_system:ensure_ra_system_stopped(coordination),
605+
DataDir = maps:get(data_dir, ra_system:fetch(?RA_SYSTEM)),
606+
ok = rabbit_ra_systems:ensure_ra_system_stopped(?RA_SYSTEM),
607607
ok = rabbit_file:recursive_delete(
608608
filelib:wildcard(DataDir ++ "/*"));
609609
true ->

0 commit comments

Comments
 (0)