diff --git a/web_handlers.go b/web_handlers.go index 0b155c4..fed9687 100644 --- a/web_handlers.go +++ b/web_handlers.go @@ -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,