소스 검색

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