1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #25505 from darrenstahlmsft/SignalProcessNewAPI

Changed SignalProcess to use new hcsshim API
This commit is contained in:
Sebastiaan van Stijn 2016-08-11 23:21:31 +02:00 committed by GitHub
commit 92ef3f615a

View file

@ -321,7 +321,7 @@ func (clnt *client) SignalProcess(containerID string, processFriendlyName string
for _, p := range cont.processes {
if p.friendlyName == processFriendlyName {
return hcsshim.TerminateProcessInComputeSystem(containerID, p.systemPid)
return p.hcsProcess.Kill()
}
}