Neo
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
weed/server/raft_server.go
|
|
@ -130,7 +130,7 @@ func NewRaftServer(option *RaftServerOption) (*RaftServer, error) { |
|
|
|
} |
|
|
|
|
|
|
|
stateMachine := StateMachine{topo: option.Topo} |
|
|
|
s.raftServer, err = raft.NewServer(string(s.serverAddr), s.dataDir, transporter, stateMachine, option.Topo, "") |
|
|
|
s.raftServer, err = raft.NewServer(string(s.serverAddr), s.dataDir, transporter, stateMachine, option.Topo, s.serverAddr.ToGrpcAddress()) |
|
|
|
if err != nil { |
|
|
|
glog.V(0).Infoln(err) |
|
|
|
return nil, err |
|
|
|