mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +01:00
Error to explaining warning when loading lpmd messages in checker (#429)
* Error to explaining warning when loading lpmd messages in checker * Remove TODO --------- Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
This commit is contained in:
parent
a153906d03
commit
824079899e
1 changed files with 3 additions and 2 deletions
|
|
@ -1216,8 +1216,9 @@ func (p *processor) checkProviderMetadata(domain string) bool {
|
|||
lpmd := loader.Load(domain)
|
||||
|
||||
for i := range lpmd.Messages {
|
||||
// TODO: Filter depending on the role.
|
||||
p.badProviderMetadata.error(lpmd.Messages[i].Message)
|
||||
p.badProviderMetadata.warn(
|
||||
"Unexpected situation while loading provider-metadata.json: " +
|
||||
lpmd.Messages[i].Message)
|
||||
}
|
||||
|
||||
if !lpmd.Valid() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue