Merge pull request #633 from crosbymichael/bump-spec-v4

Bump spec v0.4
This commit is contained in:
Mrunal Patel
2016-03-10 16:42:46 -08:00
23 changed files with 505 additions and 288 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ import (
"github.com/codegangsta/cli"
"github.com/coreos/go-systemd/activation"
"github.com/opencontainers/runc/libcontainer"
"github.com/opencontainers/specs"
"github.com/opencontainers/specs/specs-go"
)
// default action is to start a container
@@ -91,7 +91,7 @@ var initCommand = cli.Command{
},
}
func startContainer(context *cli.Context, spec *specs.LinuxSpec) (int, error) {
func startContainer(context *cli.Context, spec *specs.Spec) (int, error) {
id := context.Args().First()
if id == "" {
return -1, errEmptyID