return nil when err is nil
This commit is contained in:
parent
749ac27e9a
commit
6245f34a00
@ -112,7 +112,7 @@ func (t tester) lookKubetest() (string, error) {
|
||||
p := filepath.Join(t.goPath, "bin", "kubetest")
|
||||
_, err := t.stat(p)
|
||||
if err == nil {
|
||||
return p, err
|
||||
return p, nil
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user