From 39504f8ded8e131f3c2be8a7f8e762e30288d2d9 Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Thu, 5 Jul 2018 22:03:58 -0500 Subject: [PATCH] Unexport test.Command.Stderr --- test/pilosa.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/pilosa.go b/test/pilosa.go index f6150a59a..9fb3152c5 100644 --- a/test/pilosa.go +++ b/test/pilosa.go @@ -38,7 +38,7 @@ type Command struct { stdin bytes.Buffer stdout bytes.Buffer - Stderr bytes.Buffer + stderr bytes.Buffer } func OptAllowedOrigins(origins []string) server.CommandOption { @@ -61,7 +61,7 @@ func NewCommand(opts ...server.CommandOption) *Command { m.Config.Cluster.Disabled = true m.Command.Stdin = &m.stdin m.Command.Stdout = &m.stdout - m.Command.Stderr = &m.Stderr + m.Command.Stderr = &m.stderr if testing.Verbose() { m.Command.Stdout = io.MultiWriter(os.Stdout, m.Command.Stdout)