diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-01-10 12:19:15 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-01-10 12:19:15 -0800 |
commit | 820c24f827bf01cc44d22be492d407372c1a416a (patch) | |
tree | dd11ae1a49e2f72449d2ffe00b58383acc94b82c /system/admin/handlers.go | |
parent | 97613eafb4979ff3356097e0d18ba9e92c790d64 (diff) |
removing unused var
Diffstat (limited to 'system/admin/handlers.go')
-rw-r--r-- | system/admin/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |