beam/examples/beamsh: prettier devnull
Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
This commit is contained in:
parent
bfb13651fa
commit
0dfc004450
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ func Devnull() (*net.UnixConn, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
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 {
|
if attachment != nil {
|
||||||
attachment.Close()
|
attachment.Close()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue