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:
parent
fff01bc14d
commit
daaef83cd2
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue