Merge pull request #33190 from zhangxiaoyu-zidif/format-for-server

server.go: format for
This commit is contained in:
Sebastiaan van Stijn 2017-05-16 01:28:04 +02:00 committed by GitHub
commit 6ef7afce83
1 changed files with 1 additions and 2 deletions

View File

@ -92,13 +92,12 @@ func (s *Server) serveAPI() error {
}(srv) }(srv)
} }
for i := 0; i < len(s.servers); i++ { for range s.servers {
err := <-chErrors err := <-chErrors
if err != nil { if err != nil {
return err return err
} }
} }
return nil return nil
} }