From 478ab0eb60bc83413d2f1d42e71ec2c08090449f Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 22 Nov 2017 22:13:58 +0100 Subject: [PATCH] Lint: Remove not required conversion Signed-off-by: Knut Ahlers --- web_handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,