mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
*: remove unused, fix typos
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
e7d705b25f
commit
d690634bd6
@ -149,7 +149,7 @@ func TestConfigFileClusteringFlags(t *testing.T) {
|
||||
Durl string `json:"discovery"`
|
||||
}{
|
||||
{
|
||||
// Use default name and generate a default inital-cluster
|
||||
// Use default name and generate a default initial-cluster
|
||||
},
|
||||
{
|
||||
Name: "non-default",
|
||||
|
@ -65,7 +65,7 @@ type TLSInfo struct {
|
||||
// ServerName ensures the cert matches the given host in case of discovery / virtual hosting
|
||||
ServerName string
|
||||
|
||||
// HandshakeFailure is optinally called when a connection fails to handshake. The
|
||||
// HandshakeFailure is optionally called when a connection fails to handshake. The
|
||||
// connection will be closed immediately afterwards.
|
||||
HandshakeFailure func(*tls.Conn, error)
|
||||
|
||||
|
@ -36,8 +36,6 @@ const (
|
||||
defaultFailpointPort = 2381
|
||||
)
|
||||
|
||||
const pprofPrefix = "/debug/pprof-tester"
|
||||
|
||||
func main() {
|
||||
endpointStr := flag.String("agent-endpoints", "localhost:9027", "HTTP RPC endpoints of agents. Do not specify the schema.")
|
||||
clientPorts := flag.String("client-ports", "", "etcd client port for each agent endpoint")
|
||||
|
Loading…
x
Reference in New Issue
Block a user