mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
proxy: removed unused refreshInterval variable in director structure
This commit is contained in:
parent
1264dbe24d
commit
5854d0e8a9
@ -26,7 +26,6 @@ func newDirector(urlsFunc GetProxyURLs, failureWait time.Duration, refreshInterv
|
|||||||
d := &director{
|
d := &director{
|
||||||
uf: urlsFunc,
|
uf: urlsFunc,
|
||||||
failureWait: failureWait,
|
failureWait: failureWait,
|
||||||
refreshInterval: refreshInterval,
|
|
||||||
}
|
}
|
||||||
d.refresh()
|
d.refresh()
|
||||||
go func() {
|
go func() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user