From d57268f9b0456786cbdd9c818eef454d76f6e424 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Sun, 17 Dec 2023 21:24:14 +0100 Subject: [PATCH] remove linting hints --- api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.go b/api.go index 2817475..390db56 100644 --- a/api.go +++ b/api.go @@ -62,7 +62,7 @@ func GetStats(w http.ResponseWriter, r *http.Request) { Unknown int `json:"unknown"` }) for _, c := range v { - switch c.Status { //nolint:exhaustive + switch c.Status { case dbpackage.StatusFailed: resp.Failed = c.Count case dbpackage.StatusSkipped: @@ -75,7 +75,7 @@ func GetStats(w http.ResponseWriter, r *http.Request) { } var v2 []struct { - Status dbpackage.Lto `json:"lto"` //nolint:tagliatelle + Status dbpackage.Lto `json:"lto"` Count int `json:"count"` }