From 820c24f827bf01cc44d22be492d407372c1a416a Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Tue, 10 Jan 2017 12:19:15 -0800 Subject: removing unused var --- system/admin/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/admin/handlers.go b/system/admin/handlers.go index 2dcbddf..dc779f3 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -2142,7 +2142,7 @@ func addonHandler(res http.ResponseWriter, req *http.Request) { return } - at, ok := addon.Types[id] + _, ok := addon.Types[id] if !ok { log.Println("Addon: ", id, "is not found in addon.Types map") res.WriteHeader(http.StatusNotFound) -- cgit v1.2.3