Check entire node list for matches on connect
This commit is contained in:
parent
0b654581b6
commit
c832fc7d1b
@ -432,7 +432,7 @@ next:
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, nodeCfg := range cfg.Repositories[0].Nodes {
|
for _, nodeCfg := range cfg.Nodes {
|
||||||
if nodeCfg.NodeID == remoteID {
|
if nodeCfg.NodeID == remoteID {
|
||||||
var wr io.Writer = conn
|
var wr io.Writer = conn
|
||||||
if rateBucket != nil {
|
if rateBucket != nil {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user