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
1 changed files with 1 additions and 1 deletions

View File

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