fix: use bigint instead of integer in stats migration (#6380)

This broke dogfood!
This commit is contained in:
Kyle Carberry
2023-02-28 13:55:37 -06:00
committed by GitHub
parent 05e449943d
commit 8850ce0d9a
5 changed files with 30 additions and 30 deletions
+5 -5
View File
@@ -948,11 +948,11 @@ func (api *API) workspaceAgentReportStats(rw http.ResponseWriter, r *http.Reques
UserID: workspace.OwnerID,
TemplateID: workspace.TemplateID,
ConnectionsByProto: payload,
ConnectionCount: int32(req.ConnectionCount),
RxPackets: int32(req.RxPackets),
RxBytes: int32(req.RxBytes),
TxPackets: int32(req.TxPackets),
TxBytes: int32(req.TxBytes),
ConnectionCount: req.ConnectionCount,
RxPackets: req.RxPackets,
RxBytes: req.RxBytes,
TxPackets: req.TxPackets,
TxBytes: req.TxBytes,
})
if err != nil {
httpapi.InternalServerError(rw, err)