Add protocol to Raft connection string

Fixed at HTTP for now.
pull/1249/head
Philip O'Toole 2014-12-19 16:16:06 -05:00
parent b8c04f96c4
commit e31c58d580
1 changed files with 1 additions and 1 deletions

View File

@ -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.