Browse Source

etcdmain: Proxy doesnt specify - listening on http or https

etcdmain: Proxy doesnt specify - listening on http or https

Fixes #3464
Raoof Mohammed 10 years ago
parent
commit
2de1c36061
1 changed files with 1 additions and 1 deletions
  1. 1 1
      etcdmain/etcd.go

+ 1 - 1
etcdmain/etcd.go

@@ -417,7 +417,7 @@ func startProxy(cfg *config) error {
 			return err
 		}
 
-		host := u.Host
+		host := u.String()
 		go func() {
 			plog.Info("proxy: listening for client requests on ", host)
 			mux := http.NewServeMux()