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:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user