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

Fix fluentd partial detection

The Partial property of the Logger message
was replaced by PLogMetaData, causing the build to fail.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2018-05-10 01:55:27 +02:00
parent fff01bc14d
commit daaef83cd2
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -163,7 +163,7 @@ func (f *fluentd) Log(msg *logger.Message) error {
for k, v := range f.extra { for k, v := range f.extra {
data[k] = v data[k] = v
} }
if msg.Partial { if msg.PLogMetaData != nil {
data["partial_message"] = "true" data["partial_message"] = "true"
} }