diff options
author | Oleg Kovalov <iamolegkovalov@gmail.com> | 2018-07-30 17:48:16 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-07-30 17:48:16 +0800 |
commit | 7b1aa642201170627dd6f3d4d96701fdd068bf80 (patch) | |
tree | 9f2d9d9095a5bc9b1fab13500a335cf5fe205e0f /dashboard | |
parent | 8f4c4fea20da04557d94eab0acbbc681861cce15 (diff) | |
download | dexon-7b1aa642201170627dd6f3d4d96701fdd068bf80.tar.gz dexon-7b1aa642201170627dd6f3d4d96701fdd068bf80.tar.zst dexon-7b1aa642201170627dd6f3d4d96701fdd068bf80.zip |
dashboard: append to proper slice (#17266)
Diffstat (limited to 'dashboard')
-rw-r--r-- | dashboard/dashboard.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard/dashboard.go b/dashboard/dashboard.go index 55c254869..3ba92ac73 100644 --- a/dashboard/dashboard.go +++ b/dashboard/dashboard.go @@ -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{ |