Skip to content

Commit 73e4470

Browse files
authored
cleanup: fix new vet errors (#8044)
1 parent cc637f7 commit 73e4470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/advancedtls/advancedtls_integration_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ func (s) TestEnd2End(t *testing.T) {
264264
}
265265
cert, err := x509.ParseCertificate(params.RawCerts[0])
266266
if err != nil || cert == nil {
267-
return nil, fmt.Errorf("failed to parse certificate: " + err.Error())
267+
return nil, fmt.Errorf("failed to parse certificate: %v", err)
268268
}
269269
authzCheck := false
270270
switch stage.read() {

0 commit comments

Comments
 (0)