Skip to content

Commit 8898b6b

Browse files
committed
remove placeholder for non-linux platforms
runc currently only support Linux platform, and since we dont intend to expose the support to other platform, removing all other platforms placeholder code. `libcontainer/configs` still being used in https://github.com/moby/moby/blob/master/daemon/daemon_windows.go so keeping it for now. After this, we probably should also rename files to drop linux suffices if possible. Signed-off-by: Daniel Dao <[email protected]>
1 parent fb871d9 commit 8898b6b

File tree

11 files changed

+0
-119
lines changed

11 files changed

+0
-119
lines changed

libcontainer/configs/cgroup_unsupported.go

Lines changed: 0 additions & 6 deletions
This file was deleted.

libcontainer/container_solaris.go

Lines changed: 0 additions & 20 deletions
This file was deleted.

libcontainer/container_windows.go

Lines changed: 0 additions & 20 deletions
This file was deleted.

libcontainer/criu_opts_windows.go

Lines changed: 0 additions & 6 deletions
This file was deleted.
File renamed without changes.

libcontainer/devices/devices_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build linux
2-
31
package devices
42

53
import (

libcontainer/devices/devices_unsupported.go

Lines changed: 0 additions & 3 deletions
This file was deleted.

libcontainer/mount/mount_unsupported.go

Lines changed: 0 additions & 12 deletions
This file was deleted.

libcontainer/stats_solaris.go

Lines changed: 0 additions & 7 deletions
This file was deleted.

libcontainer/stats_windows.go

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)