mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
http: add TODO for peers var
This commit is contained in:
parent
961a61d708
commit
d519491545
@ -147,7 +147,9 @@ func httpPost(url string, data []byte) bool {
|
||||
type Handler struct {
|
||||
Timeout time.Duration
|
||||
Server *etcdserver.Server
|
||||
Peers Peers
|
||||
// TODO: dynamic configuration may make this outdated. take care of it.
|
||||
// TODO: dynamic configuration may introduce race also.
|
||||
Peers Peers
|
||||
}
|
||||
|
||||
func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user