Move linux specific options to subsection

This moves the linux specific options into a "linux" {} section on the
config.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2015-06-29 11:16:29 -07:00
parent eec8672a70
commit 1fa65466ea
5 changed files with 38 additions and 90 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"github.com/opencontainers/runc/libcontainer"
)
func execContainer(context *cli.Context, spec *LinuxSpec) (int, error) {
func execContainer(context *cli.Context, spec *Spec) (int, error) {
if len(spec.Processes) != 1 {
return -1, fmt.Errorf("runc only supports one(1) process for the container")
}