This command belongs to diagnostics, not ctl
This commit is contained in:
parent
48f79daa09
commit
a10ecbdb7a
|
|
@ -14,11 +14,9 @@
|
|||
## Copyright (c) 2007-2017 Pivotal Software, Inc. All rights reserved.
|
||||
|
||||
|
||||
defmodule RabbitMQ.CLI.Ctl.Commands.DiscoverPeersCommand do
|
||||
defmodule RabbitMQ.CLI.Diagnostics.Commands.DiscoverPeersCommand do
|
||||
@behaviour RabbitMQ.CLI.CommandBehaviour
|
||||
|
||||
def scopes(), do: [:ctl, :diagnostics]
|
||||
|
||||
def merge_defaults(args, opts), do: {args, opts}
|
||||
|
||||
def validate([_|_], _) do
|
||||
|
|
@ -17,7 +17,7 @@ defmodule DiscoverPeersCommandTest do
|
|||
use ExUnit.Case, async: false
|
||||
import TestHelper
|
||||
|
||||
@command RabbitMQ.CLI.Ctl.Commands.DiscoverPeersCommand
|
||||
@command RabbitMQ.CLI.Diagnostics.Commands.DiscoverPeersCommand
|
||||
setup_all do
|
||||
RabbitMQ.CLI.Core.Distribution.start()
|
||||
:net_kernel.connect_node(get_rabbit_hostname())
|
||||
Loading…
Reference in New Issue