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:
parent
fff01bc14d
commit
daaef83cd2
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue