Update go, dependencies and ci

This commit is contained in:
Jedri Visser
2023-03-03 21:25:55 +02:00
parent 574e832152
commit bf4716e8df
8 changed files with 353 additions and 258 deletions

View File

@@ -1,7 +1,7 @@
package munin
import (
"io/ioutil"
"io"
"net/http"
"net/http/httptest"
"testing"
@@ -21,7 +21,7 @@ func TestServer(t *testing.T) {
if err != nil {
log.Fatal(err)
}
_, err = ioutil.ReadAll(res.Body)
_, err = io.ReadAll(res.Body)
res.Body.Close()
if err != nil {
log.Fatal(err)