From 7d5bd9acab3a2f792e57998cb4ccc36c717eb0ba Mon Sep 17 00:00:00 2001 From: Yogesh Deshpande Date: Mon, 11 Dec 2023 09:40:16 -0500 Subject: [PATCH] Further review comments Signed-off-by: Yogesh Deshpande --- vts/trustedservices/trustedservices_grpc.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/vts/trustedservices/trustedservices_grpc.go b/vts/trustedservices/trustedservices_grpc.go index 7fc05969..3ff2088e 100644 --- a/vts/trustedservices/trustedservices_grpc.go +++ b/vts/trustedservices/trustedservices_grpc.go @@ -374,13 +374,8 @@ func (o *GRPC) GetAttestation( return o.finalize(appraisal, err) } - if len(endorsements) > 0 { - o.logger.Debugw("obtained endorsements", "endorsements", endorsements) - } else { - o.logger.Debugw("no endorsements for", "refvalID", refvalID) - } + o.logger.Debugw("obtained endorsements", "endorsements", endorsements) multEndorsements = append(multEndorsements, endorsements...) - } if err = handler.ValidateEvidenceIntegrity(token, tas, multEndorsements); err != nil {