log: fix klogv2.WithField(s)

Signed-off-by: Pires <pjpires@gmail.com>
This commit is contained in:
Pires
2021-01-20 13:53:23 +00:00
parent fa139bfe27
commit 346c20c005

View File

@@ -136,7 +136,7 @@ func (l *adapter) WithFields(fields log.Fields) log.Logger {
newFields[k] = v
}
return New(fields)
return New(newFields)
}
// WithError adds an error to the log entry