diff --git a/examples/tls/main.go b/examples/tls/main.go index 5e31f5e7..28f3af00 100644 --- a/examples/tls/main.go +++ b/examples/tls/main.go @@ -97,7 +97,7 @@ func main() { stats := listeners.NewHTTPStats("stats", ":8080", &listeners.Config{ TLSConfig: tlsConfig, - }, nil) + }, server.Info) err = server.AddListener(stats) if err != nil { log.Fatal(err)