Merge pull request #69589 from oomichi/issue/69588

Add the existence check of /proc/net/nf_conntrack
This commit is contained in:
k8s-ci-robot
2018-11-09 10:20:01 -08:00
committed by GitHub
2 changed files with 12 additions and 2 deletions

View File

@@ -3419,8 +3419,8 @@ func IssueSSHCommandWithResult(cmd, provider string, node *v1.Node) (*SSHResult,
LogSSHResult(result)
if result.Code != 0 || err != nil {
return nil, fmt.Errorf("failed running %q: %v (exit code %d)",
cmd, err, result.Code)
return nil, fmt.Errorf("failed running %q: %v (exit code %d, stderr %v)",
cmd, err, result.Code, result.Stderr)
}
return &result, nil