Merge pull request #503 from JordanArmstrong/fix-stats-cpu

Fix fprintf type error in stats_cpu.go for non-linux/darwin builds
This commit is contained in:
Josh Baker 2019-10-29 15:29:38 -07:00 committed by GitHub
commit 981d9ece42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,6 +13,6 @@ func (s *Server) writeInfoCPU(w *bytes.Buffer) {
"used_cpu_user:%.2f\r\n"+ "used_cpu_user:%.2f\r\n"+
"used_cpu_sys_children:%.2f\r\n"+ "used_cpu_sys_children:%.2f\r\n"+
"used_cpu_user_children:%.2f\r\n", "used_cpu_user_children:%.2f\r\n",
0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0,
) )
} }