Skip to content

Commit d690634

Browse files
committed
*: remove unused, fix typos
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
1 parent e7d705b commit d690634

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

etcdmain/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func TestConfigFileClusteringFlags(t *testing.T) {
149149
Durl string `json:"discovery"`
150150
}{
151151
{
152-
// Use default name and generate a default inital-cluster
152+
// Use default name and generate a default initial-cluster
153153
},
154154
{
155155
Name: "non-default",

pkg/transport/listener.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ type TLSInfo struct {
6565
// ServerName ensures the cert matches the given host in case of discovery / virtual hosting
6666
ServerName string
6767

68-
// HandshakeFailure is optinally called when a connection fails to handshake. The
68+
// HandshakeFailure is optionally called when a connection fails to handshake. The
6969
// connection will be closed immediately afterwards.
7070
HandshakeFailure func(*tls.Conn, error)
7171

tools/functional-tester/etcd-tester/main.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ const (
3636
defaultFailpointPort = 2381
3737
)
3838

39-
const pprofPrefix = "/debug/pprof-tester"
40-
4139
func main() {
4240
endpointStr := flag.String("agent-endpoints", "localhost:9027", "HTTP RPC endpoints of agents. Do not specify the schema.")
4341
clientPorts := flag.String("client-ports", "", "etcd client port for each agent endpoint")

0 commit comments

Comments
 (0)