Skip to content

Commit fb6da4f

Browse files
committed
daemon/logger/loggerutils: add //go:build directives to prevent downgrading to go1.16
commit 77f2d90 introduced the slices import, which uses generics, but failed to add the go:build directives. # github.com/docker/docker/daemon/logger/loggerutils ../../daemon/logger/loggerutils/logfile.go:770:2: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod) Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 5403e3f commit fb6da4f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

daemon/logger/loggerutils/logfile.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
2+
//go:build go1.21
3+
14
package loggerutils // import "github.com/docker/docker/daemon/logger/loggerutils"
25

36
import (

0 commit comments

Comments
 (0)