mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-18 16:21:13 +00:00
fix regex for go file, make it more accurate
This commit is contained in:
parent
13696f6b42
commit
5855b175c4
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user