mirror of
https://git.vectorsigma.ru/public/AdGuardHome.git
synced 2026-08-04 00:19:28 +00:00
Fixup of previous commit -- errand keystroke crept in
This commit is contained in:
@@ -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(',')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user