Skip to content

Commit

Permalink
Use error format directive
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Tendyck <[email protected]>
  • Loading branch information
msanft and thomasten authored Sep 28, 2023
1 parent d84e799 commit 174aa1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion joinservice/internal/certcache/amdkds/amdkds.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func NewKDSClient(getter trust.HTTPSGetter) *KDSClient {
func (c *KDSClient) CertChain(signingType abi.ReportSigner) (ask, ark *x509.Certificate, err error) {
askark, err := trust.GetProductChain("Milan", signingType, c.getter)
if err != nil {
return nil, nil, fmt.Errorf("retrieving certificate chain: %v", err)
return nil, nil, fmt.Errorf("retrieving certificate chain: %w", err)
}

return askark.Ask, askark.Ark, nil
Expand Down

0 comments on commit 174aa1a

Please sign in to comment.