1
0
Fork 0
mirror of https://github.com/Luzifer/mondash.git synced 2024-11-10 00:20:02 +00:00

Lint: Remove not required conversion

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-11-22 22:13:58 +01:00
parent f3932a4d57
commit 478ab0eb60
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -42,7 +42,7 @@ func handleDisplayDashboard(res http.ResponseWriter, req *http.Request) {
}
}
sort.Sort(sort.Reverse(dashboardMetrics(metrics)))
sort.Sort(sort.Reverse(metrics))
renderTemplate("dashboard.html", pongo2.Context{
"dashid": params["dashid"],
"metrics": metrics,