From 324b3b06d9ae83321b83b48ab6988865b57f0afe Mon Sep 17 00:00:00 2001 From: Jordan Armstrong Date: Mon, 28 Oct 2019 22:39:27 -0300 Subject: [PATCH] Fix go vet error in stats_cpu.go for non-linux/darwin builds --- internal/server/stats_cpu.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/server/stats_cpu.go b/internal/server/stats_cpu.go index e78b86f2..fdcf9537 100644 --- a/internal/server/stats_cpu.go +++ b/internal/server/stats_cpu.go @@ -13,6 +13,6 @@ func (s *Server) writeInfoCPU(w *bytes.Buffer) { "used_cpu_user:%.2f\r\n"+ "used_cpu_sys_children:%.2f\r\n"+ "used_cpu_user_children:%.2f\r\n", - 0, 0, 0, 0, + 0.0, 0.0, 0.0, 0.0, ) }