Depend on Spec types from specs repository

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2015-07-02 09:55:24 -07:00
parent d8af59822b
commit f4c35e70d1
5 changed files with 55 additions and 47 deletions
+2 -1
View File
@@ -10,6 +10,7 @@ import (
"github.com/Sirupsen/logrus"
"github.com/codegangsta/cli"
"github.com/opencontainers/runc/libcontainer"
"github.com/opencontainers/specs"
)
func init() {
@@ -24,7 +25,7 @@ func init() {
}
}
func execContainer(context *cli.Context, spec *Spec) (int, error) {
func execContainer(context *cli.Context, spec *specs.LinuxSpec) (int, error) {
config, err := createLibcontainerConfig(spec)
if err != nil {
return -1, err