fix(etcd): checkURL on webURL

make it so that dropping the schema isn't fatal.
This commit is contained in:
Brandon Philips 2013-08-10 11:01:09 -07:00
parent 0e5ee2742d
commit 60c71a98a4

View File

@ -237,6 +237,7 @@ func main() {
if argInfo.WebURL != "" {
// start web
argInfo.WebURL = checkURL(argInfo.WebURL, "http")
etcdStore.SetMessager(storeMsg)
go webHelper()
go web.Start(raftServer, argInfo.WebURL)