mirror of
https://github.com/EchoVault/SugarDB.git
synced 2025-10-14 20:16:05 +08:00
Scrapped plugin design in favour of simple command interfaces.
Setup docker build process for running server. Deleted test files.
This commit is contained in:
@@ -23,7 +23,7 @@ func (server *Server) RaftInit() {
|
||||
raftStableStore := raft.NewInmemStore()
|
||||
raftSnapshotStore := raft.NewInmemSnapshotStore()
|
||||
|
||||
raftAddr := fmt.Sprintf("%s:%d", conf.Addr, conf.ClusterPort)
|
||||
raftAddr := fmt.Sprintf("%s:%d", conf.BindAddr, conf.RaftBindPort)
|
||||
raftAdvertiseAddr, err := net.ResolveTCPAddr("tcp", raftAddr)
|
||||
if err != nil {
|
||||
log.Fatal("Could not resolve advertise address.")
|
||||
|
Reference in New Issue
Block a user