Skip to content

Commit

Permalink
Merge pull request #3146 from getlantern/iter-bootstrap-servers
Browse files Browse the repository at this point in the history
iterate through bootstrap chained servers
  • Loading branch information
uaalto committed Sep 15, 2015
2 parents 30e03f0 + f3d0be0 commit e76676e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/github.com/getlantern/flashlight/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ func Init(version string) (*Config, error) {

func bootstrapConfig(bs *client.BootstrapServers, configs chan []byte, once *sync.Once, url string) {
for _, s := range bs.ChainedServers {
go func() {
go func(s *client.ChainedServerInfo) {
bootstrap(s, configs, once, url)
}()
}(s)
}
}

Expand Down

0 comments on commit e76676e

Please sign in to comment.