From 2cd4786630f06d2c44011f98fd0ef94e5cb622b8 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 10 Mar 2025 17:32:11 +0100 Subject: [PATCH] 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 --- cli/command/formatter/displayutils.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/command/formatter/displayutils.go b/cli/command/formatter/displayutils.go index 0f7267e717..ad5c2a368a 100644 --- a/cli/command/formatter/displayutils.go +++ b/cli/command/formatter/displayutils.go @@ -1,3 +1,6 @@ +// FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16: +//go:build go1.22 + package formatter import (