Merge pull request #11 from LK4D4/fix_compile
Fix compilation for all tags
This commit is contained in:
commit
a7e6e0a60e
4 changed files with 39 additions and 5 deletions
|
@ -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)
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue