mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 08:55:55 -04:00
Merge pull request #82273 from beautytiger/goreg_fix
fix regex for go file, make it more accurate
This commit is contained in:
commit
9ac74b2a92
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue