Explorar o código

Merge pull request #27154 from pwzgorilla/master

typo: modified `Server` as `Serve`
Doug Davis %!s(int64=8) %!d(string=hai) anos
pai
achega
ed72c65a2a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      api/server/server.go

+ 1 - 1
api/server/server.go

@@ -76,7 +76,7 @@ func (s *Server) Close() {
 }
 
 // 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 {
 	var chErrors = make(chan error, len(s.servers))
 	for _, srv := range s.servers {