From 01ac417b69b4587b82ce3fb3ff6e3bc82d0b3fe7 Mon Sep 17 00:00:00 2001 From: Marco Rizzi Date: Thu, 26 Sep 2024 17:09:38 +0200 Subject: [PATCH] fix log to manage formatting (#133) Signed-off-by: mrizzi --- pkg/ingestor/parser/spdx/parse_spdx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ingestor/parser/spdx/parse_spdx.go b/pkg/ingestor/parser/spdx/parse_spdx.go index 4c2b4b7c5c..a13dda8522 100644 --- a/pkg/ingestor/parser/spdx/parse_spdx.go +++ b/pkg/ingestor/parser/spdx/parse_spdx.go @@ -426,7 +426,7 @@ func fixLicense(ctx context.Context, l *model.LicenseInputSpec, ol []*spdx.Other } } if !found { - logger.Error("License identifier %s not found in OtherLicenses", l.Name) + logger.Warnf("License identifier %s not found in OtherLicenses", l.Name) s := "Not found" l.Inline = &s }