Merge pull request #365 from jhowardmsft/jjh/devices

Windows: Tidy libcontainer\devices
This commit is contained in:
Mrunal Patel 2015-10-24 19:36:26 -07:00
commit 6c36d666a1
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
}