Improve bind interface

This commit is contained in:
世界
2022-07-14 23:06:03 +08:00
parent b9086b31e6
commit e13b72afca
8 changed files with 75 additions and 25 deletions

View File

@@ -17,9 +17,9 @@ import (
"github.com/docker/docker/api/types"
"github.com/docker/docker/client"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/sagernet/sing-box/log"
)
// kanged from clash
@@ -75,7 +75,7 @@ func init() {
continue
}
logrus.Info("pulling image: ", image)
log.Info("pulling image: ", image)
imageStream, err := dockerClient.ImagePull(context.Background(), image, types.ImagePullOptions{})
if err != nil {
panic(err)