mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-13 08:04:18 +00:00
bugfixes
This commit is contained in:
parent
a33ba035fa
commit
742d8cdf7e
2 changed files with 5 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ func FindYamlInDir(dir string, fileBatches chan<- []string, batchSize int) error
|
|||
files = append(files, path)
|
||||
if len(files) > batchSize {
|
||||
fileBatches <- files
|
||||
files = nil
|
||||
files = []string{}
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue