Commit 6245f34a authored by zhangxiaoyu-zidif's avatar zhangxiaoyu-zidif

return nil when err is nil

parent 749ac27e
...@@ -112,7 +112,7 @@ func (t tester) lookKubetest() (string, error) { ...@@ -112,7 +112,7 @@ func (t tester) lookKubetest() (string, error) {
p := filepath.Join(t.goPath, "bin", "kubetest") p := filepath.Join(t.goPath, "bin", "kubetest")
_, err := t.stat(p) _, err := t.stat(p)
if err == nil { if err == nil {
return p, err return p, nil
} }
} }
......
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