From e79c66960f4f38038086f7fcb4f41a1d8c82195b Mon Sep 17 00:00:00 2001 From: Naitik Shah Date: Thu, 24 Oct 2013 12:33:05 -0700 Subject: [PATCH] doc nit --- gracehttp/http.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gracehttp/http.go b/gracehttp/http.go index a1012a4..8f96c51 100644 --- a/gracehttp/http.go +++ b/gracehttp/http.go @@ -102,9 +102,8 @@ func (a *App) Wait() error { } } -// Serve will serve the given pairs of addresses and listeners and -// will monitor for signals allowing for graceful termination (SIGTERM) -// or restart (SIGUSR2). +// Serve will serve the given http.Servers and will monitor for signals +// allowing for graceful termination (SIGTERM) or restart (SIGUSR2). func Serve(servers ...*http.Server) error { app := &App{Servers: servers} inherited, err := app.Listen()