Merge pull request #38046 from nonspecialist/master

Only add CONTAINER_PARTIAL_MESSAGE if not the last partial
This commit is contained in:
Brian Goff 2018-10-17 10:36:02 -07:00 committed by GitHub
commit 22dbbcc4c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"
}