Pass runtime args to runtime delete call from shim
Signed-off-by: Darren Shepherd <darren@rancher.com>
This commit is contained in:
parent
0e9e24c647
commit
2347cc9dc3
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