diff --git a/api/server/router/grpc/grpc.go b/api/server/router/grpc/grpc.go index a22bc1d6da..d4c3d5a68b 100644 --- a/api/server/router/grpc/grpc.go +++ b/api/server/router/grpc/grpc.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package grpc // import "github.com/docker/docker/api/server/router/grpc" diff --git a/api/server/router/system/system.go b/api/server/router/system/system.go index fbacb48a28..0d06f1e5b7 100644 --- a/api/server/router/system/system.go +++ b/api/server/router/system/system.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package system // import "github.com/docker/docker/api/server/router/system" diff --git a/builder/builder-next/adapters/containerimage/pull.go b/builder/builder-next/adapters/containerimage/pull.go index d2a9816fef..26aae4466f 100644 --- a/builder/builder-next/adapters/containerimage/pull.go +++ b/builder/builder-next/adapters/containerimage/pull.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package containerimage diff --git a/container/view.go b/container/view.go index 8ccd32a08f..eef5ec8a74 100644 --- a/container/view.go +++ b/container/view.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package container // import "github.com/docker/docker/container" diff --git a/daemon/container_operations.go b/daemon/container_operations.go index 4453c25d4e..7c3b8680e9 100644 --- a/daemon/container_operations.go +++ b/daemon/container_operations.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package daemon // import "github.com/docker/docker/daemon" diff --git a/daemon/containerd/image_push_test.go b/daemon/containerd/image_push_test.go index 5d996e3c6e..febf0bdaaf 100644 --- a/daemon/containerd/image_push_test.go +++ b/daemon/containerd/image_push_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package containerd diff --git a/daemon/daemon.go b/daemon/daemon.go index ee09c06a02..81f5139295 100644 --- a/daemon/daemon.go +++ b/daemon/daemon.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 // 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 d0aa42e2cd..bdefc43285 100644 --- a/daemon/info.go +++ b/daemon/info.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package daemon // import "github.com/docker/docker/daemon" diff --git a/daemon/inspect.go b/daemon/inspect.go index 37cfb35187..68f9406625 100644 --- a/daemon/inspect.go +++ b/daemon/inspect.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package daemon // import "github.com/docker/docker/daemon" diff --git a/daemon/logger/loggerutils/logfile.go b/daemon/logger/loggerutils/logfile.go index e32f857f30..4f2ad8bbba 100644 --- a/daemon/logger/loggerutils/logfile.go +++ b/daemon/logger/loggerutils/logfile.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package loggerutils // import "github.com/docker/docker/daemon/logger/loggerutils" diff --git a/internal/sliceutil/sliceutil.go b/internal/sliceutil/sliceutil.go index 5d5856ecc5..48e5f723f2 100644 --- a/internal/sliceutil/sliceutil.go +++ b/internal/sliceutil/sliceutil.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package sliceutil diff --git a/libnetwork/config/config.go b/libnetwork/config/config.go index abab6e6593..0f6789bf9e 100644 --- a/libnetwork/config/config.go +++ b/libnetwork/config/config.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package config diff --git a/libnetwork/drivers/bridge/port_mapping_linux.go b/libnetwork/drivers/bridge/port_mapping_linux.go index 38bc6f1cc8..e64b74f6d6 100644 --- a/libnetwork/drivers/bridge/port_mapping_linux.go +++ b/libnetwork/drivers/bridge/port_mapping_linux.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package bridge diff --git a/libnetwork/drivers/overlay/peerdb.go b/libnetwork/drivers/overlay/peerdb.go index 91c3d07877..9adc55571c 100644 --- a/libnetwork/drivers/overlay/peerdb.go +++ b/libnetwork/drivers/overlay/peerdb.go @@ -1,5 +1,5 @@ // 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 && linux +//go:build go1.22 && linux package overlay diff --git a/libnetwork/endpoint.go b/libnetwork/endpoint.go index 9ae6d8b15d..f5c3e92c22 100644 --- a/libnetwork/endpoint.go +++ b/libnetwork/endpoint.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package libnetwork diff --git a/libnetwork/internal/resolvconf/resolvconf.go b/libnetwork/internal/resolvconf/resolvconf.go index b11f622f5d..65caa662b2 100644 --- a/libnetwork/internal/resolvconf/resolvconf.go +++ b/libnetwork/internal/resolvconf/resolvconf.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 // Package resolvconf is used to generate a container's /etc/resolv.conf file. // diff --git a/libnetwork/internal/setmatrix/setmatrix.go b/libnetwork/internal/setmatrix/setmatrix.go index 187f664d7c..2a1d36b3c3 100644 --- a/libnetwork/internal/setmatrix/setmatrix.go +++ b/libnetwork/internal/setmatrix/setmatrix.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package setmatrix diff --git a/libnetwork/ipams/defaultipam/address_space.go b/libnetwork/ipams/defaultipam/address_space.go index dfe3759f44..e7a42cf13c 100644 --- a/libnetwork/ipams/defaultipam/address_space.go +++ b/libnetwork/ipams/defaultipam/address_space.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package defaultipam diff --git a/libnetwork/ipamutils/utils.go b/libnetwork/ipamutils/utils.go index 581a8376c6..4192cac3c3 100644 --- a/libnetwork/ipamutils/utils.go +++ b/libnetwork/ipamutils/utils.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 // Package ipamutils provides utility functions for ipam management package ipamutils diff --git a/libnetwork/netutils/utils_linux.go b/libnetwork/netutils/utils_linux.go index 6e66001b6e..4df753d95d 100644 --- a/libnetwork/netutils/utils_linux.go +++ b/libnetwork/netutils/utils_linux.go @@ -1,5 +1,5 @@ // 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 && linux +//go:build go1.22 && linux package netutils diff --git a/libnetwork/network.go b/libnetwork/network.go index a8adb9d7d0..ad97d8bef7 100644 --- a/libnetwork/network.go +++ b/libnetwork/network.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package libnetwork diff --git a/libnetwork/networkdb/networkdb.go b/libnetwork/networkdb/networkdb.go index ee7ad6783b..d6a1e54b9a 100644 --- a/libnetwork/networkdb/networkdb.go +++ b/libnetwork/networkdb/networkdb.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package networkdb diff --git a/libnetwork/options/options.go b/libnetwork/options/options.go index 2ca77bc09b..8855a4c1ea 100644 --- a/libnetwork/options/options.go +++ b/libnetwork/options/options.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 // Package options provides a way to pass unstructured sets of options to a // component expecting a strongly-typed configuration structure. diff --git a/libnetwork/portallocator/portallocator.go b/libnetwork/portallocator/portallocator.go index 4e3b970642..d69b79a626 100644 --- a/libnetwork/portallocator/portallocator.go +++ b/libnetwork/portallocator/portallocator.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package portallocator diff --git a/libnetwork/service.go b/libnetwork/service.go index 701baa8565..8e732f0833 100644 --- a/libnetwork/service.go +++ b/libnetwork/service.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package libnetwork diff --git a/plugin/v2/plugin_linux.go b/plugin/v2/plugin_linux.go index e8b3842d21..f58f6152f4 100644 --- a/plugin/v2/plugin_linux.go +++ b/plugin/v2/plugin_linux.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package v2 // import "github.com/docker/docker/plugin/v2" diff --git a/testutil/helpers.go b/testutil/helpers.go index 52ff9386be..2b86cc95dc 100644 --- a/testutil/helpers.go +++ b/testutil/helpers.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.22 package testutil // import "github.com/docker/docker/testutil"