allow for RPM modularity to be optional (#2540)

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
Alex Goodman
2024-01-24 13:21:59 -05:00
committed by GitHub
parent ad2843bf50
commit bf3cd9ed3b
5 changed files with 2174 additions and 20 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ type RpmDBEntry struct {
SourceRpm string `json:"sourceRpm" cyclonedx:"sourceRpm"`
Size int `json:"size" cyclonedx:"size"`
Vendor string `json:"vendor"`
ModularityLabel string `json:"modularityLabel"`
ModularityLabel *string `json:"modularityLabel,omitempty"`
Files []RpmFileRecord `json:"files"`
}