mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
if all interims have not changed do nothing
This commit is contained in:
parent
c27fa41c2f
commit
bf95140dbe
1 changed files with 5 additions and 0 deletions
|
|
@ -212,6 +212,11 @@ func (w *worker) interimWork(wg *sync.WaitGroup, jobs <-chan *interimJob) {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Nothing has changed.
|
||||||
|
if len(notFinalized) == len(interims) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
// Simply append the olds. Maybe we got re-configured with
|
// Simply append the olds. Maybe we got re-configured with
|
||||||
// a greater interims interval later.
|
// a greater interims interval later.
|
||||||
notFinalized = append(notFinalized, olds...)
|
notFinalized = append(notFinalized, olds...)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue