mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 04:03:20 +00:00
return nil when err is nil
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user