From 0ebcbde911829f6c693f682924ee7bd041d22868 Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Mon, 14 Jul 2014 12:50:51 -0700 Subject: [PATCH] Remove unsupported file This is no longer needed and is not properly built with the cross compile scripts anyways. Docker-DCO-1.1-Signed-off-by: Michael Crosby (github: crosbymichael) --- namespaces/unsupported.go | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 namespaces/unsupported.go diff --git a/namespaces/unsupported.go b/namespaces/unsupported.go deleted file mode 100644 index 8398b94d7..000000000 --- a/namespaces/unsupported.go +++ /dev/null @@ -1,28 +0,0 @@ -// +build !linux - -package namespaces - -import ( - "github.com/docker/libcontainer" - "github.com/docker/libcontainer/cgroups" -) - -func Exec(container *libcontainer.Config, term Terminal, rootfs, dataPath string, args []string, createCommand CreateCommand, startCallback func()) (int, error) { - return -1, ErrUnsupported -} - -func Init(container *libcontainer.Config, uncleanRootfs, consolePath string, syncPipe *SyncPipe, args []string) error { - return ErrUnsupported -} - -func InitializeNetworking(container *libcontainer.Config, nspid int, pipe *SyncPipe) error { - return ErrUnsupported -} - -func SetupCgroups(container *libcontainer.Config, nspid int) (cgroups.ActiveCgroup, error) { - return nil, ErrUnsupported -} - -func GetNamespaceFlags(namespaces map[string]bool) (flag int) { - return 0 -}