mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #27154 from pwzgorilla/master
typo: modified `Server` as `Serve`
This commit is contained in:
commit
ed72c65a2a
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ func (s *Server) Close() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// serveAPI loops through all initialized servers and spawns goroutine
|
// serveAPI loops through all initialized servers and spawns goroutine
|
||||||
// with Server method for each. It sets createMux() as Handler also.
|
// with Serve method for each. It sets createMux() as Handler also.
|
||||||
func (s *Server) serveAPI() error {
|
func (s *Server) serveAPI() error {
|
||||||
var chErrors = make(chan error, len(s.servers))
|
var chErrors = make(chan error, len(s.servers))
|
||||||
for _, srv := range s.servers {
|
for _, srv := range s.servers {
|
||||||
|
|
Loading…
Add table
Reference in a new issue