From b97375fc29a88f896e14f45a34c263a4948c9ad9 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) --- pkg/beam/examples/beamsh/beamsh.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/beam/examples/beamsh/beamsh.go b/pkg/beam/examples/beamsh/beamsh.go index e02424b24e..535377094d 100644 --- a/pkg/beam/examples/beamsh/beamsh.go +++ b/pkg/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())