1
0
mirror of https://github.com/moby/moby.git synced 2025-04-18 20:44:11 +03:00

Add missing go1.22 build constraints

Some recent changes used a newer Go features.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
Paweł Gronowski 2025-03-25 13:45:47 +01:00
parent 330857ad0f
commit cc90726fb8
No known key found for this signature in database
GPG Key ID: B85EFCFE26DEF92A
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,6 @@
// TODO(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 platform
import (

View File

@ -1,3 +1,6 @@
// TODO(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 oci // import "github.com/docker/docker/oci"
import (