Check entire node list for matches on connect

This commit is contained in:
Jakob Borg 2014-04-08 21:32:58 +02:00
parent 0b654581b6
commit c832fc7d1b

View File

@ -432,7 +432,7 @@ next:
continue
}
for _, nodeCfg := range cfg.Repositories[0].Nodes {
for _, nodeCfg := range cfg.Nodes {
if nodeCfg.NodeID == remoteID {
var wr io.Writer = conn
if rateBucket != nil {