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:
parent
f3932a4d57
commit
478ab0eb60
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user