mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Add comment
This commit is contained in:
parent
7501c60bf4
commit
51035c0dc9
1 changed files with 2 additions and 1 deletions
|
|
@ -152,6 +152,7 @@ func (rules *requirementRules) eval(p *processor) bool {
|
|||
return recurse(rules)
|
||||
}
|
||||
|
||||
// eval evalutes the processing state for a given requirement.
|
||||
func (p *processor) eval(requirement int) bool {
|
||||
|
||||
switch requirement {
|
||||
|
|
@ -188,6 +189,6 @@ func (p *processor) eval(requirement int) bool {
|
|||
return true
|
||||
|
||||
default:
|
||||
panic(fmt.Sprintf("testing unexpected requirement %d", requirement))
|
||||
panic(fmt.Sprintf("evaluating unexpected requirement %d", requirement))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue