From 5855b175c42040c380ffd97a688d3956f7430047 Mon Sep 17 00:00:00 2001 From: Guangming Wang Date: Tue, 3 Sep 2019 22:37:14 +0800 Subject: [PATCH] fix regex for go file, make it more accurate --- hack/conformance/check_conformance_test_requirements.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/conformance/check_conformance_test_requirements.go b/hack/conformance/check_conformance_test_requirements.go index 82988a621ce..1cb7445a3e0 100644 --- a/hack/conformance/check_conformance_test_requirements.go +++ b/hack/conformance/check_conformance_test_requirements.go @@ -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 {