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") | 		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 | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 zhangxiaoyu-zidif
					zhangxiaoyu-zidif