mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Rename opts to cfg
This commit is contained in:
parent
0d17db0c59
commit
12ad7706e3
4 changed files with 62 additions and 64 deletions
|
|
@ -103,7 +103,7 @@ func (r *validReporter) report(p *processor, domain *Domain) {
|
|||
case !p.invalidAdvisories.used():
|
||||
req.message(InfoType, "No validations performed")
|
||||
case len(p.invalidAdvisories) == 0:
|
||||
if p.validator != nil && containsAny(p.opts.RemoteValidatorPresets,
|
||||
if p.validator != nil && containsAny(p.cfg.RemoteValidatorPresets,
|
||||
"basic", "mandatory", "extended", "full") {
|
||||
req.message(InfoType, "All advisories validated fine.")
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue