From bdd7f24b317b8798352f1118c35dbb104d66a3c4 Mon Sep 17 00:00:00 2001 From: Christoph Klassen Date: Mon, 11 Sep 2023 21:31:45 +0200 Subject: [PATCH] fix: product tree properties --- csaf/advisory.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csaf/advisory.go b/csaf/advisory.go index f119c24..b334a31 100644 --- a/csaf/advisory.go +++ b/csaf/advisory.go @@ -376,8 +376,8 @@ type Relationship struct { // ProductTree contains product names that can be referenced elsewhere in the document. type ProductTree struct { Branches []*Branch `json:"branches,omitempty"` - FullProductNames []*FullProductName `json:"full_product_name,omitempty"` - ProductGroups *ProductGroups `json:"product_groups,omitempty"` + FullProductNames []*FullProductName `json:"full_product_names,omitempty"` + ProductGroups []*ProductGroup `json:"product_groups,omitempty"` RelationShips []*Relationship `json:"relationships,omitempty"` }