Merge pull request #217 from ibuildthecloud/delete-args
Pass runtime args to runtime delete call from shim
This commit is contained in:
commit
715ac711b8
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ func (p *process) pid() int {
|
||||||
|
|
||||||
func (p *process) delete() error {
|
func (p *process) delete() error {
|
||||||
if !p.state.Exec {
|
if !p.state.Exec {
|
||||||
out, err := exec.Command(p.runtime, "delete", p.id).CombinedOutput()
|
out, err := exec.Command(p.runtime, append(p.state.RuntimeArgs, "delete", p.id)...).CombinedOutput()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("%s: %v", out, err)
|
return fmt.Errorf("%s: %v", out, err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue