1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

Changed SignalProcess to use new hcsshim API

Signed-off-by: Darren Stahl <darst@microsoft.com>
Upstream-commit: 5eaf86c6db0ee010f1a2996d9a9ce3abae444ba7
Component: engine
This commit is contained in:
Darren Stahl
2016-08-08 14:03:12 -07:00
parent 6ce2b2f7e0
commit 7df2db6c39

View File

@@ -324,7 +324,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()
}
}