summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiaan van Stijn <github@gone.nl>2023-05-06 01:46:10 +0200
committerSebastiaan van Stijn <github@gone.nl>2023-05-06 16:36:16 +0200
commit152c482fee2850e6439a25567ba18d1315a68119 (patch)
treef7fd918e5f152c9bae443a5acac5077108bde2ee
parent88f4bf4ae4bace73608b73df9fb974081d2bed1a (diff)
downloaddocker-152c482fee2850e6439a25567ba18d1315a68119.tar.gz
pkg/platform: remove deprecated OSType const
This const was deprecated in 5c78cbd3be7b782c1cc81825adf2a2595317a929, which is part of the v24.0.0 release, so we can remove it from master. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
-rw-r--r--pkg/platform/platform.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/pkg/platform/platform.go b/pkg/platform/platform.go
index 8d90433b60..380cfd160e 100644
--- a/pkg/platform/platform.go
+++ b/pkg/platform/platform.go
@@ -3,8 +3,6 @@
package platform // import "github.com/docker/docker/pkg/platform"
import (
- "runtime"
-
"github.com/sirupsen/logrus"
)
@@ -17,12 +15,6 @@ import (
// when running a "linux/386" compiled binary on "linux/amd64" hardware.
var Architecture string
-// OSType holds the runtime operating system type of the process. It is
-// an alias for [runtime.GOOS].
-//
-// Deprecated: use [runtime.GOOS] instead.
-const OSType = runtime.GOOS
-
func init() {
var err error
Architecture, err = runtimeArchitecture()