You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When hooked up to logrus and running multiple log.Info() calls (for example),
the bytearray being passed to Write() is reused in the successive calls. As
this reference was being passed down through the channel, it resulted in
corrupted data and JSON serialization errors.
We fix that here by always making a copy before sending to the channel.
0 commit comments