Skip to content

Commit

Permalink
iterate through bootstrap chained servers
Browse files Browse the repository at this point in the history
  • Loading branch information
fffw committed Sep 15, 2015
1 parent 30e03f0 commit f3d0be0
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 f3d0be0

Please sign in to comment.