fix the typo

pull/20716/head
Xinyi Wang 9 months ago
parent 2531018f36
commit 1768215b6b

@ -53,7 +53,7 @@ func dial(c *GRPCConfig) (*grpc.ClientConn, error) {
func checkCertificates(c *GRPCConfig) error {
if c.GRPCTLS {
certFileEmpty := c.CertFile == ""
keyFileEmpty := c.CertFile == ""
keyFileEmpty := c.KeyFile == ""
// both files need to be empty or both files need to be provided
if certFileEmpty != keyFileEmpty {

Loading…
Cancel
Save