Skip to content

Commit 2cd4786

Browse files
committed
cli/command/formatter: add missing go:build tag
Seen failing when used elsewhere; vendor/github.com/docker/cli/cli/command/formatter/displayutils.go:78:20: predeclared any requires go1.18 or later (-lang was set to go1.16; check go.mod) Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 571124d commit 2cd4786

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cli/command/formatter/displayutils.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
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+
14
package formatter
25

36
import (

0 commit comments

Comments
 (0)