From b42c24eaceb3cba6f80f4146af0ee33d79716e8f Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Thu, 5 Jul 2018 21:57:35 -0500 Subject: [PATCH] Unexport cmd.NewConfigCommand --- cmd/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/config.go b/cmd/config.go index 953074f9c..3d65fa131 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -27,7 +27,7 @@ import ( var conf *ctl.ConfigCommand -func NewConfigCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command { +func newConfigCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command { conf = ctl.NewConfigCommand(os.Stdin, os.Stdout, os.Stderr) Server := server.NewCommand(stdin, stdout, stderr) confCmd := &cobra.Command{ @@ -51,5 +51,5 @@ func NewConfigCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command } func init() { - subcommandFns["config"] = NewConfigCommand + subcommandFns["config"] = newConfigCommand }