From 4d14464f25d628bf6a00e13e99a9221119c49202 Mon Sep 17 00:00:00 2001 From: geray <48796550+gerayking@users.noreply.github.com> Date: Thu, 25 Jan 2024 17:26:02 +0800 Subject: [PATCH] Fix log format error in vttls.go (#15035) Signed-off-by: geray <48796550+gerayking@users.noreply.github.com> --- go/vt/vttls/vttls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/vttls/vttls.go b/go/vt/vttls/vttls.go index 098ed67eec4..adaf2cca672 100644 --- a/go/vt/vttls/vttls.go +++ b/go/vt/vttls/vttls.go @@ -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