From ae0b1948396be2b943b1957ff5d33b12c0fd2de5 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Mon, 31 Mar 2014 12:45:39 -0700 Subject: [PATCH] beam/examples/beamsh: rename 'log' to 'logger' to avoid conflict with stdout/stderr Docker-DCO-1.1-Signed-off-by: Solomon Hykes (github: shykes) --- beam/examples/beamsh/beamsh.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beam/examples/beamsh/beamsh.go b/beam/examples/beamsh/beamsh.go index e02424b..5353770 100644 --- a/beam/examples/beamsh/beamsh.go +++ b/beam/examples/beamsh/beamsh.go @@ -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())