1
0
mirror of https://github.com/docker/cli.git synced 2026-01-16 20:22:36 +03:00

beam/examples/beamsh: prettier devnull

Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
Upstream-commit: 3686d50429db11a709bb480e29b769e808c207e7
Component: engine
This commit is contained in:
Solomon Hykes
2014-03-25 18:36:22 -07:00
parent e963a518ae
commit 6b526d5950

View File

@@ -87,7 +87,7 @@ func Devnull() (*net.UnixConn, error) {
if err != nil {
return
}
fmt.Fprintf(os.Stderr, "[devnull] discarding '%s'\n", payload)
fmt.Fprintf(os.Stderr, "[devnull] discarding '%s'\n", data.Message(string(payload)).Pretty())
if attachment != nil {
attachment.Close()
}