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
@@ -802,11 +802,11 @@ func (runtime *Runtime) Diff(container *Container) (archive.Archive, error) {
}
func (runtime *Runtime) Run(c *Container, startCallback execdriver.StartCallback) (int, error) {
return runtime.execDriver.Run(c.process, startCallback)
return runtime.execDriver.Run(c.command, startCallback)
}
func (runtime *Runtime) Kill(c *Container, sig int) error {
return runtime.execDriver.Kill(c.process, sig)
return runtime.execDriver.Kill(c.command, sig)
}
func (runtime *Runtime) WaitGhost(c *Container) error {