浏览代码

Changed SignalProcess to use new hcsshim API

Signed-off-by: Darren Stahl <darst@microsoft.com>
Darren Stahl 9 年之前
父节点
当前提交
5eaf86c6db
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libcontainerd/client_windows.go

+ 1 - 1
libcontainerd/client_windows.go

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