From 7b1aa642201170627dd6f3d4d96701fdd068bf80 Mon Sep 17 00:00:00 2001 From: Oleg Kovalov Date: Mon, 30 Jul 2018 11:48:16 +0200 Subject: [PATCH] dashboard: append to proper slice (#17266) --- dashboard/dashboard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/dashboard.go b/dashboard/dashboard.go index 55c2548691..3ba92ac73e 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{