diff options
Diffstat (limited to 'cmd/web_graceful.go')
-rw-r--r-- | cmd/web_graceful.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/web_graceful.go b/cmd/web_graceful.go index 5f8b85b390..f3c41766af 100644 --- a/cmd/web_graceful.go +++ b/cmd/web_graceful.go @@ -28,13 +28,13 @@ func runHTTPSWithTLSConfig(network, listenAddr string, tlsConfig *tls.Config, m // NoHTTPRedirector tells our cleanup routine that we will not be using a fallback http redirector func NoHTTPRedirector() { - graceful.Manager.InformCleanup() + graceful.GetManager().InformCleanup() } // NoMainListener tells our cleanup routine that we will not be using a possibly provided listener // for our main HTTP/HTTPS service func NoMainListener() { - graceful.Manager.InformCleanup() + graceful.GetManager().InformCleanup() } func runFCGI(network, listenAddr string, m http.Handler) error { |