Merge pull request #82273 from beautytiger/goreg_fix

fix regex for go file, make it more accurate
This commit is contained in:
Kubernetes Prow Robot
2019-09-18 20:43:13 -07:00
committed by GitHub

View File

@@ -82,7 +82,7 @@ func checkAllProviders(e2eFile string) error {
}
func processFile(e2ePath string) error {
regGoFile := regexp.MustCompile(".*.go")
regGoFile := regexp.MustCompile(".*\\.go")
files, err := ioutil.ReadDir(e2ePath)
if err != nil {