Merge pull request #45875 from thaJeztah/pkg_system_no_windows

pkg/system: remove windows stubs for MkDev/MkNod
This commit is contained in:
Sebastiaan van Stijn 2023-07-03 23:56:22 +02:00 committed by GitHub
commit 99a8e53573
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,11 +0,0 @@
package system // import "github.com/docker/docker/pkg/system"
// Mknod is not implemented on Windows.
func Mknod(path string, mode uint32, dev int) error {
return ErrNotSupportedPlatform
}
// Mkdev is not implemented on Windows.
func Mkdev(major int64, minor int64) uint32 {
panic("Mkdev not implemented on Windows.")
}