Merge pull request #41330 from feiskyer/fix

Automatic merge from submit-queue (batch tested with PRs 41706, 39063, 41330, 41739, 41576)

Fix regex match doc of procfs.PidOf

Fixes #41247.

cc @bboreham
This commit is contained in:
Kubernetes Submit Queue 2017-02-21 02:24:41 -08:00 committed by GitHub
commit 98962212a3

View File

@ -90,7 +90,7 @@ func PKill(name string, sig syscall.Signal) error {
return utilerrors.NewAggregate(errList)
}
// Find process(es) with a specified name (exact match)
// Find process(es) with a specified name (regexp match)
// and return their pid(s)
func PidOf(name string) ([]int, error) {
if len(name) == 0 {