update golangci-lint

This commit is contained in:
aler9 2022-09-17 21:19:45 +02:00
parent 7f7a6e2200
commit f1fb00b80f
29 changed files with 44 additions and 34 deletions

View file

@ -1,7 +1,7 @@
package core
import (
"io/ioutil"
"io"
"net/http"
"os"
"strings"
@ -68,7 +68,7 @@ func TestMetrics(t *testing.T) {
defer res.Body.Close()
require.Equal(t, http.StatusOK, res.StatusCode)
bo, err := ioutil.ReadAll(res.Body)
bo, err := io.ReadAll(res.Body)
require.NoError(t, err)
vals := make(map[string]string)