Skip to content

Commit

Permalink
Fix log format error in vttls.go (#15035)
Browse files Browse the repository at this point in the history
Signed-off-by: geray <[email protected]>
  • Loading branch information
gerayking authored Jan 25, 2024
1 parent 2920c74 commit 4d14464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vttls/vttls.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func loadTLSCertificate(cert, key string) (*[]tls.Certificate, error) {
result, ok := tlsCertificates.Load(tlsIdentifier)

if !ok {
return nil, vterrors.Errorf(vtrpc.Code_NOT_FOUND, "Cannot find loaded tls certificate with cert: %s, key%s", cert, key)
return nil, vterrors.Errorf(vtrpc.Code_NOT_FOUND, "Cannot find loaded tls certificate with cert: %s, key: %s", cert, key)
}

return result.(*[]tls.Certificate), nil
Expand Down

0 comments on commit 4d14464

Please sign in to comment.