Wording
This commit is contained in:
parent
e2fefb3b84
commit
f99245c5b6
|
|
@ -51,6 +51,6 @@ defmodule RabbitMQ.CLI.Ctl.Commands.SetParameterCommand do
|
|||
def usage, do: "set_parameter [-p <vhost>] <component_name> <name> <value>"
|
||||
|
||||
def banner([component_name, name, value], %{vhost: vhost}) do
|
||||
"Setting runtime parameter \"#{component_name}\" for component \"#{name}\" to \"#{value}\" for vhost \"#{vhost}\" ..."
|
||||
"Setting runtime parameter \"#{component_name}\" for component \"#{name}\" to \"#{value}\" in vhost \"#{vhost}\" ..."
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ defmodule SetParameterCommandTest do
|
|||
vhost_opts = Map.merge(context[:opts], %{vhost: context[:vhost]})
|
||||
|
||||
assert @command.banner([context[:component_name], context[:key], context[:value]], vhost_opts)
|
||||
=~ ~r/Setting runtime parameter \"#{context[:component_name]}\" for component \"#{context[:key]}\" to \"#{context[:value]}\" for vhost \"#{context[:vhost]}\" \.\.\./
|
||||
=~ ~r/Setting runtime parameter \"#{context[:component_name]}\" for component \"#{context[:key]}\" to \"#{context[:value]}\" in vhost \"#{context[:vhost]}\" \.\.\./
|
||||
end
|
||||
|
||||
# Checks each element of the first parameter against the expected context values
|
||||
|
|
|
|||
Loading…
Reference in New Issue