From b1ca52e3eb5698984b4015d0a3219474af3ac7f9 Mon Sep 17 00:00:00 2001 From: DmitriyLewen Date: Thu, 25 Jul 2024 11:20:21 +0500 Subject: [PATCH] refactor: remove unneeded function --- pkg/sbom/spdx/marshal.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/sbom/spdx/marshal.go b/pkg/sbom/spdx/marshal.go index 07a249d49f13..35bd0448aa5d 100644 --- a/pkg/sbom/spdx/marshal.go +++ b/pkg/sbom/spdx/marshal.go @@ -194,8 +194,6 @@ func (m *Marshaler) Marshal(ctx context.Context, bom *core.BOM) (*spdx.Document, } } - bom.Vulnerabilities() - sortPackages(packages) sortRelationships(relationShips) sortFiles(files)