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:
Michael Crosby 2017-06-26 16:59:18 -07:00 committed by GitHub
commit f3b85a91b0

View File

@ -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),