Changed SignalProcess to use new hcsshim API

Signed-off-by: Darren Stahl <darst@microsoft.com>
This commit is contained in:
Darren Stahl 2016-08-08 14:03:12 -07:00
parent b435d75526
commit 5eaf86c6db

View file

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