Merge pull request #101399 from wangyx1992/error-punctuation

cleanup: fix errors ending with punctuation in proxy
This commit is contained in:
Kubernetes Prow Robot 2021-08-16 00:51:46 -07:00 committed by GitHub
commit cbb5ea8210
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ func TryConnectEndpoints(service proxy.ServicePortName, srcAddr net.Addr, protoc
}
return outConn, nil
}
return nil, fmt.Errorf("failed to connect to an endpoint.")
return nil, fmt.Errorf("failed to connect to an endpoint")
}
func (tcp *tcpProxySocket) ProxyLoop(service proxy.ServicePortName, myInfo *ServiceInfo, loadBalancer LoadBalancer) {