Skip to content

Commit 8bad27b

Browse files
committed
rabbitmq_cli: Fix typo where we set rabbit's data_dir environment variable
The application name was incorrect, leading to errors when trying to use this data dir as part of the `forget_cluster_node` command.
1 parent 93c5b3e commit 8bad27b

File tree

1 file changed

+1
-1
lines changed
  • deps/rabbitmq_cli/lib/rabbitmq/cli/core

1 file changed

+1
-1
lines changed

deps/rabbitmq_cli/lib/rabbitmq/cli/core/paths.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ defmodule RabbitMQ.CLI.Core.Paths do
3737
{:error, :data_dir_not_found}
3838

3939
val ->
40-
Application.put_env(:rabbit_, :data_dir, to_charlist(val))
40+
Application.put_env(:rabbit, :data_dir, to_charlist(val))
4141
Application.put_env(:mnesia, :dir, to_charlist(val))
4242
end
4343

0 commit comments

Comments
 (0)