mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-21 23:20:10 +01:00
Add schema violation logging to aggregator
This commit is contained in:
parent
161ec1f15c
commit
c63bf3db9f
1 changed files with 1 additions and 1 deletions
|
|
@ -53,6 +53,7 @@ func (w *worker) setupProviderFull(provider *provider) error {
|
|||
return err
|
||||
}
|
||||
if len(errors) > 0 {
|
||||
w.log.Error("invalid prodivider-metadata.json", "err", errors)
|
||||
return fmt.Errorf(
|
||||
"provider-metadata.json has %d validation issues", len(errors))
|
||||
}
|
||||
|
|
@ -79,7 +80,6 @@ func (w *worker) fullWork(wg *sync.WaitGroup, jobs <-chan *fullJob) {
|
|||
|
||||
// full performs the complete lister/download
|
||||
func (p *processor) full() error {
|
||||
|
||||
if p.cfg.runAsMirror() {
|
||||
p.log.Info("Running in aggregator mode")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue