Rename Process to Command

Docker-DCO-1.1-Signed-off-by: Guillaume J. Charmes <guillaume.charmes@docker.com> (github: creack)
This commit is contained in:
Guillaume J. Charmes
2014-01-20 16:05:07 -08:00
parent ffe78e82c3
commit 12468f2bc8
7 changed files with 51 additions and 47 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ func NewDriver() (*driver, error) {
return &driver{}, nil
}
func (d *driver) Run(c *execdriver.Process, startCallback execdriver.StartCallback) (int, error) {
func (d *driver) Run(c *execdriver.Command, startCallback execdriver.StartCallback) (int, error) {
params := []string{
"chroot",
c.Rootfs,
@@ -70,7 +70,7 @@ func (d *driver) Run(c *execdriver.Process, startCallback execdriver.StartCallba
return c.GetExitCode(), err
}
func (d *driver) Kill(p *execdriver.Process, sig int) error {
func (d *driver) Kill(p *execdriver.Command, sig int) error {
return p.Process.Kill()
}