diff --git a/components/engine/daemon/execdriver/windows/terminatekill.go b/components/engine/daemon/execdriver/windows/terminatekill.go index cd63edbaa8..f19f16fda3 100644 --- a/components/engine/daemon/execdriver/windows/terminatekill.go +++ b/components/engine/daemon/execdriver/windows/terminatekill.go @@ -37,7 +37,7 @@ func kill(id string, pid int) error { } else { // Shutdown the compute system - if err = hcsshim.TerminateComputeSystem(id); err != nil { + if err = hcsshim.ShutdownComputeSystem(id); err != nil { logrus.Errorf("Failed to shutdown %s - %s", id, err) } }