mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 10:00:56 +00:00
Add a command for searching for kustomize resource files
This commit is contained in:
@@ -102,14 +102,16 @@ func (gc githubCrawler) Crawl(ctx context.Context,
|
||||
queryResult.errorCnt += result.errorCnt
|
||||
}
|
||||
|
||||
if len(errs) > 0 {
|
||||
return errs
|
||||
}
|
||||
logger.Printf("Summary of Crawl: got %d files from Github. "+
|
||||
"%d have been seen before. %d are new and sent to the output channel." +
|
||||
"%d have kustomizationResultAdapter errors.",
|
||||
queryResult.totalDocCnt, queryResult.seenDocCnt,
|
||||
queryResult.newDocCnt, queryResult.errorCnt)
|
||||
|
||||
if len(errs) > 0 {
|
||||
return errs
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user