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
commit 9ac74b2a92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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