Merge pull request #21417 from yujuhong/docker_container

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot 2016-02-18 14:31:37 -08:00
commit a39b62bb22

View File

@ -357,7 +357,7 @@ func isProcessRunningInHost(pid int) (bool, error) {
}
func getPidsForProcess(name string) ([]int, error) {
out, err := exec.Command("pidof", "name").Output()
out, err := exec.Command("pidof", name).Output()
if err != nil {
return []int{}, fmt.Errorf("failed to find pid of %q: %v", name, err)
}