1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

write newline after every log message.

This commit is contained in:
daniel-garcia 2013-08-27 14:09:26 -05:00
parent c2b273df5d
commit d593f57952

View file

@ -293,6 +293,7 @@ func (w *WriteBroadcaster) Write(p []byte) (n int, err error) {
continue
}
lp = append(lp, b...)
lp = append(lp, '\n')
}
}
if n, err := sw.wc.Write(lp); err != nil || n != len(lp) {