diff --git a/daemon/container_operations.go b/daemon/container_operations.go index 75be6d0743..39e0bd2787 100644 --- a/daemon/container_operations.go +++ b/daemon/container_operations.go @@ -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.19 + package daemon // import "github.com/docker/docker/daemon" import ( diff --git a/daemon/inspect.go b/daemon/inspect.go index c3cd632810..d895d7afb8 100644 --- a/daemon/inspect.go +++ b/daemon/inspect.go @@ -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.19 + package daemon // import "github.com/docker/docker/daemon" import ( diff --git a/libnetwork/endpoint.go b/libnetwork/endpoint.go index e0cab348e3..b9903bb901 100644 --- a/libnetwork/endpoint.go +++ b/libnetwork/endpoint.go @@ -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.19 + package libnetwork import (