mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
dashboard: append to proper slice
This commit is contained in:
parent
93c0f1715d
commit
e2ec6bd19d
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ func (db *Dashboard) collectData() {
|
|||
sys.ProcessCPU = append(sys.ProcessCPU[1:], processCPU)
|
||||
sys.SystemCPU = append(sys.SystemCPU[1:], systemCPU)
|
||||
sys.DiskRead = append(sys.DiskRead[1:], diskRead)
|
||||
sys.DiskWrite = append(sys.DiskRead[1:], diskWrite)
|
||||
sys.DiskWrite = append(sys.DiskWrite[1:], diskWrite)
|
||||
db.lock.Unlock()
|
||||
|
||||
db.sendToAll(&Message{
|
||||
|
|
|
|||
Loading…
Reference in a new issue