Merge pull request #949 from pires/bugfix/klogv2_withfields
log: fix klogv2.WithField(s)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user