fix(backend): added type convertor for TransferredBodySize field in CH connector

This commit is contained in:
Alexander 2023-11-08 10:57:33 +01:00
parent bd434ae7a9
commit 07d8b4e30f

View file

@ -492,7 +492,7 @@ func (c *connectorImpl) InsertRequest(session *sessions.Session, msg *messages.N
uint16(msg.Duration),
msg.Status < 400,
"REQUEST",
msg.TransferredBodySize,
uint32(msg.TransferredBodySize),
); err != nil {
c.checkError("requests", err)
return fmt.Errorf("can't append to requests batch: %s", err)