From 7094ed4f28e25d0610cbe0f68dd721b80e737442 Mon Sep 17 00:00:00 2001 From: Eugene Bujak Date: Fri, 7 Sep 2018 17:59:24 +0300 Subject: [PATCH] Fixup of previous commit -- errand keystroke crept in --- control.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control.go b/control.go index 8161c954..643458ba 100644 --- a/control.go +++ b/control.go @@ -449,7 +449,7 @@ func handleStatsTop(w http.ResponseWriter, r *http.Request) { json.WriteString("\": {\n") sorted := sortByValue(top) for i, key := range sorted { - fmt.Fprintf(json, " \"%s\": %d", key, top[key])) + fmt.Fprintf(json, " \"%s\": %d", key, top[key]) if i+1 != len(sorted) { json.WriteByte(',') }