From 3aad0991eac8b80abde2380e7cd9ae87315a2196 Mon Sep 17 00:00:00 2001 From: Deshi Xiao Date: Mon, 13 Apr 2015 17:21:27 +0800 Subject: [PATCH] correct pkg/stdcopy NewStdWriter function comments pkg/stdcopy NewStdWriter function has wrong doc comment, utils is not correct, it should be stdcopy Signed-off-by: Deshi Xiao --- stdcopy/stdcopy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdcopy/stdcopy.go b/stdcopy/stdcopy.go index ccf1d9d..4f78f20 100644 --- a/stdcopy/stdcopy.go +++ b/stdcopy/stdcopy.go @@ -52,7 +52,7 @@ func (w *StdWriter) Write(buf []byte) (n int, err error) { // and written to the underlying `w` stream. // This allows multiple write streams (e.g. stdout and stderr) to be muxed into a single connection. // `t` indicates the id of the stream to encapsulate. -// It can be utils.Stdin, utils.Stdout, utils.Stderr. +// It can be stdcopy.Stdin, stdcopy.Stdout, stdcopy.Stderr. func NewStdWriter(w io.Writer, t StdType) *StdWriter { if len(t) != StdWriterPrefixLen { return nil