From 7df2db6c3981b2fc1914bf5515cce37f67d52e4d Mon Sep 17 00:00:00 2001 From: Darren Stahl Date: Mon, 8 Aug 2016 14:03:12 -0700 Subject: [PATCH] Changed SignalProcess to use new hcsshim API Signed-off-by: Darren Stahl Upstream-commit: 5eaf86c6db0ee010f1a2996d9a9ce3abae444ba7 Component: engine --- components/engine/libcontainerd/client_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/libcontainerd/client_windows.go b/components/engine/libcontainerd/client_windows.go index e054052a6e..dbcf90f28c 100644 --- a/components/engine/libcontainerd/client_windows.go +++ b/components/engine/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() } }