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

Merge pull request #35612 from ikarpovich/35610-le-line-only

Logentries driver line-only=true []byte output fix
This commit is contained in:
Victor Vieux 2017-11-27 14:33:02 -08:00 committed by GitHub
commit c75c45b188
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ func (f *logentries) Log(msg *logger.Message) error {
logger.PutMessage(msg)
f.writer.Println(f.tag, ts, data)
} else {
line := msg.Line
line := string(msg.Line)
logger.PutMessage(msg)
f.writer.Println(line)
}