Skip to content

Commit d1d5353

Browse files
committed
cli/command/container: fix missing go:build tag
make shell make -C ./internal/gocompat/ GO111MODULE=on go test -v # github.com/docker/cli/cli/command/container ../../cli/command/container/completion.go:37:28: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod) ../../cli/command/container/completion.go:82:25: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod) ../../cli/command/container/completion.go:92:27: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod) FAIL gocompat [build failed] Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 4adbb18 commit d1d5353

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cli/command/container/completion.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
2+
//go:build go1.22
3+
// +build go1.22
4+
15
package container
26

37
import (

0 commit comments

Comments
 (0)