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()
}
}