Skip to content

Commit

Permalink
typo: modified Server as Serve
Browse files Browse the repository at this point in the history
Signed-off-by: mgniu <[email protected]>
  • Loading branch information
mgniu committed Oct 5, 2016
1 parent c48317a commit 97a4548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 97a4548

Please sign in to comment.