Browse Source

Merge pull request #3465 from raoofm/patch-1

etcdmain: Proxy doesnt specify - listening on http or https
Xiang Li 10 năm trước cách đây
mục cha
commit
af0474f2e3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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()