Merge pull request #7954 from gyuho/m

*: remove unused, fix typos
release-3.2
Gyu-Ho Lee 2017-05-18 12:36:24 -07:00 committed by GitHub
commit 4a8fbb9d5d
3 changed files with 2 additions and 4 deletions

View File

@ -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",

View File

@ -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)

View File

@ -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")