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