Fixes static check failures in test/e2e_node/*

This commit is contained in:
Nabarun Pal
2019-08-26 13:27:25 +05:30
parent b327a729c5
commit 83c443e728
10 changed files with 20 additions and 41 deletions

View File

@@ -144,6 +144,10 @@ func dns() error {
}
kubecmd, err := exec.Command("ps", "aux").CombinedOutput()
if err != nil {
// Executing ps aux shouldn't have failed
panic(err)
}
// look for the dns flag and parse the value
dns := dnsRegex.FindStringSubmatch(string(kubecmd))