parent
b8c04f96c4
commit
e31c58d580
|
@ -164,7 +164,7 @@ func (c *Config) RaftListenAddr() string {
|
|||
|
||||
// RaftConnectionString returns the address required to contact the Raft server
|
||||
func (c *Config) RaftConnectionString() string {
|
||||
return fmt.Sprintf("%s:%d", c.Hostname, c.Raft.Port)
|
||||
return fmt.Sprintf("http://%s:%d", c.Hostname, c.Raft.Port)
|
||||
}
|
||||
|
||||
// Size represents a TOML parseable file size.
|
||||
|
|
Loading…
Reference in New Issue