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

Merge pull request #25505 from darrenstahlmsft/SignalProcessNewAPI

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

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