diff --git a/cmd/notary-signer/main.go b/cmd/notary-signer/main.go index 219bf8994a..1ed0294a99 100644 --- a/cmd/notary-signer/main.go +++ b/cmd/notary-signer/main.go @@ -141,9 +141,9 @@ func setupGRPCServer(grpcAddr string, tlsConfig *tls.Config, } func setupHTTPServer(httpAddr string, tlsConfig *tls.Config, - cryptoServices signer.CryptoServiceIndex) http.Server { + cryptoServices signer.CryptoServiceIndex) *http.Server { - return http.Server{ + return &http.Server{ Addr: httpAddr, Handler: api.Handlers(cryptoServices), TLSConfig: tlsConfig,