Revert "temporarily skip some packages"

This reverts commit f5467fbebafc0c46502465b8f4c37625ea11adc7.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2023-12-15 15:53:02 +01:00
parent 7db1b108c6
commit 975a7844eb
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -35,25 +35,6 @@ func generateApp() error {
if strings.TrimSpace(p) == "" || strings.Contains(p, "/internal") {
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)
}
tmpl, err := template.New("main").Parse(appTemplate)