Skip to content

Commit

Permalink
rabbit_khepri: Do not hard-code coordination, use the constant instead
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbbell committed Nov 15, 2024
1 parent 05717cc commit 2938338
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/rabbit/src/rabbit_khepri.erl
Original file line number Diff line number Diff line change
Expand Up @@ -605,8 +605,8 @@ force_reset() ->
case rabbit:is_running() of
false ->
ok = khepri:stop(?RA_CLUSTER_NAME),
DataDir = maps:get(data_dir, ra_system:fetch(coordination)),
ok = ra_system:ensure_ra_system_stopped(coordination),
DataDir = maps:get(data_dir, ra_system:fetch(?RA_SYSTEM)),
ok = rabbit_ra_systems:ensure_ra_system_stopped(?RA_SYSTEM),
ok = rabbit_file:recursive_delete(
filelib:wildcard(DataDir ++ "/*")),

Expand Down

0 comments on commit 2938338

Please sign in to comment.