Bump to golang 1.20 to pick up go1.19.6 / go1.20.1 CVE fixes

Go 1.18 is already EOL and doesn't have fixes available.

Signed-off-by: Jingyuan Liang <jingyuanliang@google.com>
This commit is contained in:
Jingyuan Liang
2023-04-21 04:25:41 +00:00
parent 9f1f9a588b
commit d8fc886bf0
6 changed files with 4 additions and 10 deletions

View File

@ -17,7 +17,6 @@ package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"net"
"os"
"strings"
@ -179,7 +178,7 @@ var _ = Describe("Add, check, remove tap plugin", func() {
targetNS, err = testutils.NewNS()
Expect(err).NotTo(HaveOccurred())
dataDir, err = ioutil.TempDir("", "dummy")
dataDir, err = os.MkdirTemp("", "dummy")
Expect(err).NotTo(HaveOccurred())
})