Be more specific about what is being stopped on `stop_app`
rabbitmq/rabbitmq-server#1043
This commit is contained in:
parent
889e0f925c
commit
4d46936749
|
|
@ -30,5 +30,5 @@ defmodule RabbitMQ.CLI.Ctl.Commands.StopAppCommand do
|
|||
def usage, do: "stop_app"
|
||||
|
||||
|
||||
def banner(_, %{node: node_name}), do: "Stopping node #{node_name} ..."
|
||||
def banner(_, %{node: node_name}), do: "Stopping rabbit application on node #{node_name} ..."
|
||||
end
|
||||
|
|
|
|||
|
|
@ -58,6 +58,6 @@ defmodule StopAppCommandTest do
|
|||
end
|
||||
|
||||
test "banner", context do
|
||||
assert @command.banner([], context[:opts]) =~ ~r/Stopping node #{get_rabbit_hostname}/
|
||||
assert @command.banner([], context[:opts]) =~ ~r/Stopping rabbit application on node #{get_rabbit_hostname}/
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue