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:
Solomon Hykes 2014-03-31 12:45:39 -07:00
Родитель a2b88b4915
Коммит b97375fc29
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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())