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

Only add CONTAINER_PARTIAL_MESSAGE if not the last partial

Addresses #38045

Signed-off-by: Colin Panisset <colin.panisset@cevo.com.au>
This commit is contained in:
Colin Panisset 2018-10-16 15:58:58 +11:00 committed by Colin Panisset
parent 503b1a9b6f
commit 5cd2bb315a

View file

@ -104,7 +104,7 @@ func (s *journald) Log(msg *logger.Message) error {
for k, v := range s.vars {
vars[k] = v
}
if msg.PLogMetaData != nil {
if msg.PLogMetaData != nil && !msg.PLogMetaData.Last {
vars["CONTAINER_PARTIAL_MESSAGE"] = "true"
}