Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Lint
Browse files Browse the repository at this point in the history
Signed-off-by: Yogesh Deshpande <[email protected]>
yogeshbdeshpande committed Dec 10, 2023
1 parent 4279f78 commit 7607266
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions vts/trustedservices/trustedservices_grpc.go
Original file line number Diff line number Diff line change
@@ -377,9 +377,7 @@ func (o *GRPC) GetAttestation(
if len(endorsements) > 0 {
o.logger.Debugw("obtained endorsements", "endorsements", endorsements)
}
for _, end := range endorsements {
tendorsements = append(tendorsements, end)
}
tendorsements = append(tendorsements, endorsements...)

}

@@ -427,8 +425,8 @@ func (c *GRPC) initEvidenceContext(
}

func (c *GRPC) getTrustAnchor(id []string) ([]string, error) {
var ta_values []string

ta_values := make([]string, 0)
for _, taId := range id {
values, err := c.TaStore.Get(taId)
if err != nil {

0 comments on commit 7607266

Please sign in to comment.