Windows: Tidy libcontainer\devices

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2015-10-23 13:50:24 -07:00
parent bed70ca579
commit 37675129ba
3 changed files with 5 additions and 16 deletions

View File

@ -1,3 +1,5 @@
// +build linux freebsd
package devices
import (

View File

@ -0,0 +1,3 @@
// +build windows
package devices

View File

@ -1,16 +0,0 @@
package devices
import (
"github.com/opencontainers/runc/libcontainer/configs"
)
// TODO Windows. This can be factored out further - Devices are not supported
// by Windows Containers.
func DeviceFromPath(path, permissions string) (*configs.Device, error) {
return nil, nil
}
func HostDevices() ([]*configs.Device, error) {
return nil, nil
}