1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 18:15:42 +01:00

s/iterim/interim/

This commit is contained in:
Sascha L. Teichmann 2022-08-02 22:21:38 +02:00
parent bdb24e72ab
commit b6f4172ff9

View file

@ -144,7 +144,7 @@ func (w *worker) checkInterims(
return nil, err return nil, err
} }
// Check if we can remove this advisory as it is not iterim any more. // Check if we can remove this advisory as it is not interim any more.
var status string var status string
if err := w.expr.Extract(statusExpr, util.StringMatcher(&status), true, doc); err != nil { if err := w.expr.Extract(statusExpr, util.StringMatcher(&status), true, doc); err != nil {
return nil, err return nil, err
@ -256,7 +256,7 @@ func joinErrors(errs []error) error {
func (p *processor) interim() error { func (p *processor) interim() error {
if !p.cfg.runAsMirror() { if !p.cfg.runAsMirror() {
return errors.New("iterim in lister mode does not work") return errors.New("interim in lister mode does not work")
} }
queue := make(chan *interimJob) queue := make(chan *interimJob)
@ -325,7 +325,7 @@ func writeInterims(interimsCSV string, interims []interimsEntry) error {
} }
// readInterims scans a interims.csv file for matching // readInterims scans a interims.csv file for matching
// iterim advisories. Its sorted with youngest // interim advisories. Its sorted with youngest
// first, so we can stop scanning if entries get too old. // first, so we can stop scanning if entries get too old.
// It returns two slices: The advisories that are young enough // It returns two slices: The advisories that are young enough
// and a slice of the advisories that are too old. // and a slice of the advisories that are too old.