|
@@ -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()
|