mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
format
This commit is contained in:
parent
11a7cd0bc2
commit
50277df74c
8
etcd.go
8
etcd.go
@ -280,10 +280,10 @@ func startRaft(securityType int) {
|
||||
// leader need to join self as a peer
|
||||
for {
|
||||
command := &JoinCommand{
|
||||
Name : raftServer.Name(),
|
||||
Hostname : hostname,
|
||||
RaftPort : raftPort,
|
||||
ClientPort : clientPort,
|
||||
Name: raftServer.Name(),
|
||||
Hostname: hostname,
|
||||
RaftPort: raftPort,
|
||||
ClientPort: clientPort,
|
||||
}
|
||||
_, err := raftServer.Do(command)
|
||||
if err == nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user