mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
update golangci-lint
This commit is contained in:
parent
7f7a6e2200
commit
f1fb00b80f
29 changed files with 44 additions and 34 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue