🐛 dashboard: 出站月流量统计typo

This commit is contained in:
naiba committed 2021-08-29 14:41:22 +08:00
1 parent 7d7859d06a
commit 5ee137035f
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ func recordTransferHourlyUsage() {
tx := model.Transfer{
ServerID: id,
In: server.State.NetInTransfer - uint64(server.PrevHourlyTransferIn),
Out: server.State.NetInTransfer - uint64(server.PrevHourlyTransferIn),
Out: server.State.NetOutTransfer - uint64(server.PrevHourlyTransferOut),
}
server.PrevHourlyTransferIn = int64(server.State.NetInTransfer)
server.PrevHourlyTransferOut = int64(server.State.NetOutTransfer)