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:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user