mirror of
https://github.com/moby/moby.git
synced 2026-06-30 19:58:03 +00:00
Merge pull request #50464 from thaJeztah/rm_pkg_platform_leftovers
internal/platform: remove NumProcs() stub for Linux
This commit is contained in:
@@ -14,12 +14,3 @@ func runtimeArchitecture() (string, error) {
|
||||
}
|
||||
return unix.ByteSliceToString(utsname.Machine[:]), nil
|
||||
}
|
||||
|
||||
// NumProcs returns the number of processors on the system
|
||||
//
|
||||
// Deprecated: temporary stub for non-Windows to provide an alias for the deprecated github.com/docker/docker/pkg/platform package.
|
||||
//
|
||||
// FIXME(thaJeztah): remove once we remove github.com/docker/docker/pkg/platform
|
||||
func NumProcs() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user