ci speedup

This commit is contained in:
yusing
2024-09-29 06:00:52 +08:00
parent 91e7f4894a
commit e2b08d8667
9 changed files with 47 additions and 12 deletions

View File

@@ -6,7 +6,6 @@ import (
"strings"
"github.com/docker/docker/api/types"
"github.com/sirupsen/logrus"
U "github.com/yusing/go-proxy/internal/utils"
)
@@ -33,9 +32,6 @@ func FromDocker(c *types.Container, dockerHost string) (res Container) {
StopSignal: res.getDeleteLabel(LabelStopSignal),
Running: c.Status == "running" || c.State == "running",
}
if res.NetworkMode == "" {
logrus.Debugf("%v", res.NetworkSettings.Networks)
}
return
}