mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-23 00:32:55 +01:00
Change roliecheck.go: Now check whether no summary label exist, instead of incorrectly checking whether one exists
This commit is contained in:
parent
2ec8be4e8c
commit
d5589a018d
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ func (p *processor) processROLIEFeeds(feeds [][]csaf.Feed) error {
|
||||||
csaf.TLPLabelAmber,
|
csaf.TLPLabelAmber,
|
||||||
csaf.TLPLabelRed,
|
csaf.TLPLabelRed,
|
||||||
} {
|
} {
|
||||||
if hasSummary.Contains(label) && len(p.labelChecker.advisories[label]) > 0 {
|
if !hasSummary.Contains(label) && len(p.labelChecker.advisories[label]) > 0 {
|
||||||
p.badROLIEFeed.warn(
|
p.badROLIEFeed.warn(
|
||||||
"ROLIE feed for TLP:%s has no accessible listed feed covering all advisories.",
|
"ROLIE feed for TLP:%s has no accessible listed feed covering all advisories.",
|
||||||
label)
|
label)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue