Changed SignalProcess to use new hcsshim API
Signed-off-by: Darren Stahl <darst@microsoft.com>
This commit is contained in:
parent
b435d75526
commit
5eaf86c6db
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,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