Remove most logrus

Signed-off-by: Jin Dong <jin.dong@databricks.com>
This commit is contained in:
Jin Dong
2023-08-26 13:17:03 -04:00
parent 03e4f1e363
commit fc45365fa1
31 changed files with 84 additions and 94 deletions

View File

@@ -22,8 +22,8 @@ import (
"os"
"sync"
"github.com/containerd/containerd/log"
"github.com/pelletier/go-toml"
"github.com/sirupsen/logrus"
)
var imageListFile = flag.String("image-list", "", "The TOML file containing the non-default images to be used in tests.")
@@ -58,7 +58,7 @@ func initImages(imageListFile string) {
}
if imageListFile != "" {
logrus.Infof("loading image list from file: %s", imageListFile)
log.L.Infof("loading image list from file: %s", imageListFile)
fileContent, err := os.ReadFile(imageListFile)
if err != nil {
@@ -71,7 +71,7 @@ func initImages(imageListFile string) {
}
}
logrus.Infof("Using the following image list: %+v", imageList)
log.L.Infof("Using the following image list: %+v", imageList)
imageMap = initImageMap(imageList)
}