1
0
mirror of https://github.com/Luzifer/mondash.git synced 2024-09-19 17:02:58 +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{ renderTemplate("dashboard.html", pongo2.Context{
"dashid": params["dashid"], "dashid": params["dashid"],
"metrics": metrics, "metrics": metrics,