chore: io/ioutil has been deprecated

This commit is contained in:
Christian Schwarz
2024-09-08 13:15:26 +00:00
parent 48c5b60024
commit 740ab4b1b2
9 changed files with 11 additions and 20 deletions
@@ -5,7 +5,6 @@ import (
"context"
"flag"
"fmt"
"io/ioutil"
"os"
"path"
@@ -47,7 +46,7 @@ func main() {
flag.StringVar(&args.testCase, "testcase", "", "")
flag.Parse()
bytes, err := ioutil.ReadFile(args.configPath)
bytes, err := os.ReadFile(args.configPath)
noerror(err)
err = yaml.UnmarshalStrict(bytes, &conf)
noerror(err)