diff --git a/api/server/router/system/system.go b/api/server/router/system/system.go index cb4311a117..f4c0bce982 100644 --- a/api/server/router/system/system.go +++ b/api/server/router/system/system.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 system // import "github.com/docker/docker/api/server/router/system" import ( diff --git a/builder/builder-next/adapters/containerimage/pull.go b/builder/builder-next/adapters/containerimage/pull.go index 9ee2084d2b..6a8be68762 100644 --- a/builder/builder-next/adapters/containerimage/pull.go +++ b/builder/builder-next/adapters/containerimage/pull.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 containerimage import ( diff --git a/daemon/daemon.go b/daemon/daemon.go index 16352e878e..3c207f2cf3 100644 --- a/daemon/daemon.go +++ b/daemon/daemon.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 exposes the functions that occur on the host server // that the Docker daemon is running. // diff --git a/daemon/info.go b/daemon/info.go index 2705cd5ec8..b35b599ad3 100644 --- a/daemon/info.go +++ b/daemon/info.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/config/config.go b/libnetwork/config/config.go index efd530b794..e23efbb683 100644 --- a/libnetwork/config/config.go +++ b/libnetwork/config/config.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 config import ( diff --git a/libnetwork/drivers/overlay/peerdb.go b/libnetwork/drivers/overlay/peerdb.go index 35e7b2e671..1790c95787 100644 --- a/libnetwork/drivers/overlay/peerdb.go +++ b/libnetwork/drivers/overlay/peerdb.go @@ -1,4 +1,5 @@ -//go:build linux +// 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 && linux package overlay diff --git a/libnetwork/internal/setmatrix/setmatrix.go b/libnetwork/internal/setmatrix/setmatrix.go index b124f9db8e..d4d2a96ef6 100644 --- a/libnetwork/internal/setmatrix/setmatrix.go +++ b/libnetwork/internal/setmatrix/setmatrix.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 setmatrix import ( diff --git a/libnetwork/network.go b/libnetwork/network.go index 0fa3db8286..75c5de5cad 100644 --- a/libnetwork/network.go +++ b/libnetwork/network.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 ( diff --git a/libnetwork/options/options.go b/libnetwork/options/options.go index 4534f2c4f7..e70c484bf0 100644 --- a/libnetwork/options/options.go +++ b/libnetwork/options/options.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 options provides a way to pass unstructured sets of options to a // component expecting a strongly-typed configuration structure. package options diff --git a/libnetwork/service.go b/libnetwork/service.go index 4bb903afab..f1d64e5996 100644 --- a/libnetwork/service.go +++ b/libnetwork/service.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 ( diff --git a/testutil/helpers.go b/testutil/helpers.go index f31ad27944..5c99e7bba4 100644 --- a/testutil/helpers.go +++ b/testutil/helpers.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 testutil // import "github.com/docker/docker/testutil" import (