feat: Update golangci-lint version to 1.62.0 and go version to 1.23

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
This commit is contained in:
Alexander Dahmen 2024-11-26 14:54:44 +01:00 committed by Alexander Dahmen
parent 1051995ad6
commit 3a378c7b38
9 changed files with 22 additions and 27 deletions

View file

@ -345,7 +345,7 @@ func TestUpdateACLs(t *testing.T) {
aclsStates["acl-3"] = true
// Handler for getting all ACLs
getAllACLsHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
getAllACLsHandler := http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
w.Header().Set("Content-Type", "application/json")
if tt.getAllACLsFails {
w.WriteHeader(http.StatusInternalServerError)