Merge pull request #48434 from thaJeztah/more_gocompat

add more //go:build directives to prevent downgrading to go1.16
This commit is contained in:
Sebastiaan van Stijn
2024-09-09 12:34:56 +02:00
committed by GitHub
2 changed files with 6 additions and 0 deletions

View File

@@ -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.21
package loggerutils // import "github.com/docker/docker/daemon/logger/loggerutils"
import (

View File

@@ -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.21
package networkdb
//go:generate protoc -I=. -I=../../vendor/ --gogofaster_out=import_path=github.com/docker/docker/libnetwork/networkdb:. networkdb.proto