mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-02-18 02:49:51 +03:00
Fixup of previous commit -- errand keystroke crept in
This commit is contained in:
parent
f623c3d909
commit
7094ed4f28
1 changed files with 1 additions and 1 deletions
|
@ -449,7 +449,7 @@ func handleStatsTop(w http.ResponseWriter, r *http.Request) {
|
||||||
json.WriteString("\": {\n")
|
json.WriteString("\": {\n")
|
||||||
sorted := sortByValue(top)
|
sorted := sortByValue(top)
|
||||||
for i, key := range sorted {
|
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) {
|
if i+1 != len(sorted) {
|
||||||
json.WriteByte(',')
|
json.WriteByte(',')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue