|
@@ -35,25 +35,6 @@ func generateApp() error {
|
|
if strings.TrimSpace(p) == "" || strings.Contains(p, "/internal") {
|
|
if strings.TrimSpace(p) == "" || strings.Contains(p, "/internal") {
|
|
continue
|
|
continue
|
|
}
|
|
}
|
|
- switch p {
|
|
|
|
- case "github.com/docker/docker/daemon", "github.com/docker/docker/daemon/cluster", "github.com/docker/docker/daemon/cluster/executor/container", "github.com/docker/docker/daemon/cluster/provider":
|
|
|
|
- // FIXME(thaJeztah): one, or combinations of these still makes it fail, but unfortunately it doesn't print what file it is.
|
|
|
|
- //
|
|
|
|
- // go test -v
|
|
|
|
- // # github.com/docker/docker/daemon
|
|
|
|
- // embedding interface element ~[]string requires go1.18 or later (-lang was set to go1.16; check go.mod)
|
|
|
|
- // FAIL gocompat [build failed]
|
|
|
|
- //
|
|
|
|
- // _ "github.com/docker/docker/daemon"
|
|
|
|
- // _ "github.com/docker/docker/daemon/cluster"
|
|
|
|
- // _ "github.com/docker/docker/daemon/cluster/executor/container"
|
|
|
|
- // _ "github.com/docker/docker/daemon/cluster/provider"
|
|
|
|
- //
|
|
|
|
- // no external consumer _should_ be importing the daemon-code,
|
|
|
|
- // so skipping checks for these (for now).
|
|
|
|
- continue
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
pkgs = append(pkgs, p)
|
|
pkgs = append(pkgs, p)
|
|
}
|
|
}
|
|
tmpl, err := template.New("main").Parse(appTemplate)
|
|
tmpl, err := template.New("main").Parse(appTemplate)
|