This command belongs to diagnostics, not ctl

This commit is contained in:
Michael Klishin 2017-04-30 01:27:44 +02:00
parent 48f79daa09
commit a10ecbdb7a
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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())