1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +01:00

Change roliecheck.go: Now check whether no summary label exist, instead of incorrectly checking whether one exists

This commit is contained in:
JanHoefelmeyer 2023-06-16 17:15:39 +02:00
parent 2ec8be4e8c
commit d5589a018d

View file

@ -253,7 +253,7 @@ func (p *processor) processROLIEFeeds(feeds [][]csaf.Feed) error {
csaf.TLPLabelAmber,
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(
"ROLIE feed for TLP:%s has no accessible listed feed covering all advisories.",
label)