Merge pull request #25505 from darrenstahlmsft/SignalProcessNewAPI
Changed SignalProcess to use new hcsshim API
This commit is contained in:
commit
92ef3f615a
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue