mirror of
https://github.com/moby/moby.git
synced 2026-08-13 17:06:44 +00:00
daemon/containerd: add missing go:build tag
This was introduced in ba454f573b02922340761c0d44687c0b5daa60a6;
make BIND_DIR=. shell
make -C ./internal/gocompat/
GO111MODULE=on go test -v
# github.com/docker/docker/daemon/containerd
../../daemon/containerd/image_inspect.go:107:18: 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 <github@gone.nl>
This commit is contained in:
@@ -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 containerd
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user