Removed unused var.

This commit is contained in:
Klaus Ma 2016-09-21 23:28:15 +08:00
parent 313ef63993
commit 10e880684f

View File

@ -33,10 +33,6 @@ import (
. "github.com/onsi/gomega"
)
const (
kubeletProcessname = "kubelet"
)
func getOOMScoreForPid(pid int) (int, error) {
procfsPath := path.Join("/proc", strconv.Itoa(pid), "oom_score_adj")
out, err := exec.Command("sudo", "cat", procfsPath).CombinedOutput()