beam/examples/beamsh: rename 'log' to 'logger' to avoid conflict with stdout/stderr
Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
This commit is contained in:
parent
c92abca6c7
commit
ae0b194839
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ func Handlers() (*beam.UnixConn, error) {
|
|||
}
|
||||
|
||||
func GetHandler(name string) Handler {
|
||||
if name == "log" {
|
||||
if name == "logger" {
|
||||
return func(args []string, in beam.Receiver, out beam.Sender) {
|
||||
var tasks sync.WaitGroup
|
||||
stdout, err := beam.SendPipe(out, data.Empty().Set("cmd", "log", "stdout").Set("fromcmd", args...).Bytes())
|
||||
|
|
Loading…
Reference in a new issue