mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00: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:
@@ -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 (
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user