Browse code

Update go:build comments to go1.21

Match the minimum version that's specified on our vendor.mod.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2024/06/13 21:56:36
Showing 17 changed files
... ...
@@ -1,5 +1,5 @@
1 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.19
2
+//go:build go1.21
3 3
 
4 4
 package system // import "github.com/docker/docker/api/server/router/system"
5 5
 
... ...
@@ -1,5 +1,5 @@
1 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.19
2
+//go:build go1.21
3 3
 
4 4
 package containerimage
5 5
 
... ...
@@ -1,5 +1,5 @@
1 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.19
2
+//go:build go1.21
3 3
 
4 4
 package daemon // import "github.com/docker/docker/daemon"
5 5
 
... ...
@@ -1,5 +1,5 @@
1 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.19
2
+//go:build go1.21
3 3
 
4 4
 package containerd
5 5
 
... ...
@@ -1,5 +1,5 @@
1 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.19
2
+//go:build go1.21
3 3
 
4 4
 // Package daemon exposes the functions that occur on the host server
5 5
 // that the Docker daemon is running.
... ...
@@ -1,5 +1,5 @@
1 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.19
2
+//go:build go1.21
3 3
 
4 4
 package daemon // import "github.com/docker/docker/daemon"
5 5
 
... ...
@@ -1,5 +1,5 @@
1 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.19
2
+//go:build go1.21
3 3
 
4 4
 package daemon // import "github.com/docker/docker/daemon"
5 5
 
... ...
@@ -1,5 +1,5 @@
1 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.19
2
+//go:build go1.21
3 3
 
4 4
 package sliceutil
5 5
 
... ...
@@ -1,5 +1,5 @@
1 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.19
2
+//go:build go1.21
3 3
 
4 4
 package config
5 5
 
... ...
@@ -1,5 +1,5 @@
1 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.19 && linux
2
+//go:build go1.21 && linux
3 3
 
4 4
 package overlay
5 5
 
... ...
@@ -1,5 +1,5 @@
1 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.19
2
+//go:build go1.21
3 3
 
4 4
 package libnetwork
5 5
 
... ...
@@ -1,5 +1,5 @@
1 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.19
2
+//go:build go1.21
3 3
 
4 4
 package setmatrix
5 5
 
... ...
@@ -1,5 +1,5 @@
1 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.19
2
+//go:build go1.21
3 3
 
4 4
 package libnetwork
5 5
 
... ...
@@ -1,5 +1,5 @@
1 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.19
2
+//go:build go1.21
3 3
 
4 4
 // Package options provides a way to pass unstructured sets of options to a
5 5
 // component expecting a strongly-typed configuration structure.
... ...
@@ -1,5 +1,5 @@
1 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.19
2
+//go:build go1.21
3 3
 
4 4
 package libnetwork
5 5
 
... ...
@@ -1,5 +1,5 @@
1 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.19
2
+//go:build go1.21
3 3
 
4 4
 package v2 // import "github.com/docker/docker/plugin/v2"
5 5
 
... ...
@@ -1,5 +1,5 @@
1 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.19
2
+//go:build go1.21
3 3
 
4 4
 package testutil // import "github.com/docker/docker/testutil"
5 5