Browse Source

Merge pull request #25505 from darrenstahlmsft/SignalProcessNewAPI

Changed SignalProcess to use new hcsshim API
Sebastiaan van Stijn 9 years ago
parent
commit
92ef3f615a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libcontainerd/client_windows.go

+ 1 - 1
libcontainerd/client_windows.go

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