Merge pull request #11 from LK4D4/fix_compile

Fix compilation for all tags
This commit is contained in:
Michael Crosby 2015-12-07 14:33:46 -08:00
commit a7e6e0a60e
4 changed files with 39 additions and 5 deletions

View file

@ -63,7 +63,7 @@ var StartCommand = cli.Command{
fatal("container id cannot be empty", 1)
}
c := v1.NewClient(context.GlobalString("addr"))
if err := c.Start(id, path); err != nil {
if err := c.Start(id, path, ""); err != nil {
fatal(err.Error(), 1)
}
},
@ -89,7 +89,7 @@ var KillCommand = cli.Command{
fatal("container id cannot be empty", 1)
}
c := v1.NewClient(context.GlobalString("addr"))
if err := c.Signal(id, context.Int("pid"), context.Int("signal")); err != nil {
if err := c.SignalProcess(id, context.Int("pid"), context.Int("signal")); err != nil {
fatal(err.Error(), 1)
}
},