Merge pull request #1101 from estesp/invalid-runtime-command
Fix incorrect reference to the gRPC runtime name as a binary
This commit is contained in:
commit
f3b85a91b0
@ -434,7 +434,9 @@ func (r *Runtime) getRuntime(ctx context.Context, ns, id string) (*runc.Runc, er
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return &runc.Runc{
|
return &runc.Runc{
|
||||||
Command: c.Runtime.Name,
|
// TODO: until we have a way to store/retrieve the original command
|
||||||
|
// we can only rely on runc from the default $PATH
|
||||||
|
Command: runc.DefaultCommand,
|
||||||
LogFormat: runc.JSON,
|
LogFormat: runc.JSON,
|
||||||
PdeathSignal: unix.SIGKILL,
|
PdeathSignal: unix.SIGKILL,
|
||||||
Root: filepath.Join(client.RuncRoot, ns),
|
Root: filepath.Join(client.RuncRoot, ns),
|
||||||
|
Loading…
Reference in New Issue
Block a user