Commit a39b62bb authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #21417 from yujuhong/docker_container

Auto commit by PR queue bot
parents be803eaf 7061ba20
......@@ -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)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment