Update to golang 1.19

This commit is contained in:
2022-08-11 20:00:25 +02:00
parent 88691a5149
commit 9763ed0e29
5 changed files with 55 additions and 24 deletions

View File

@ -4,7 +4,7 @@ import (
"context"
"crypto/tls"
"encoding/json"
"io/ioutil"
"io"
"log"
"net/http"
"path/filepath"
@ -83,7 +83,7 @@ func TestContainerIntegration(t *testing.T) {
resp, _ := client.Do(req)
assert.Equal(t, 200, resp.StatusCode)
body, err := ioutil.ReadAll(resp.Body)
body, err := io.ReadAll(resp.Body)
if err != nil {
log.Fatal(err)
}