diff options
Diffstat (limited to 'http/http.go')
-rw-r--r-- | http/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http/http.go b/http/http.go index 1a983e8..a17fb7c 100644 --- a/http/http.go +++ b/http/http.go @@ -142,7 +142,7 @@ func (s *Server) logHandler(w http.ResponseWriter, r *http.Request) (interface{} } // Close shuts down the HTTP server. -func (s *Server) Close() error { return s.server.Shutdown(context.Background()) } +func (s *Server) Close() error { return s.server.Shutdown(context.TODO()) } // ListenAndServe starts the HTTP server listening on the configured address. func (s *Server) ListenAndServe() error { |