Update go-toml to v2

Updates host file parsing to use new v2 method rather than the removed
toml.Tree.

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2023-09-22 12:29:26 -07:00
parent e0e6f870b7
commit b5615caf11
78 changed files with 7586 additions and 5876 deletions

View File

@@ -23,7 +23,7 @@ import (
"sync"
"github.com/containerd/log"
"github.com/pelletier/go-toml"
"github.com/pelletier/go-toml/v2"
)
var imageListFile = flag.String("image-list", "", "The TOML file containing the non-default images to be used in tests.")