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> Upstream-commit: daaef83cd24f6eb335b77e9d8d692235eff1b201 Component: engine
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user