From b4ed8be847b355e21a6aa3bfc3b9695e2058e3a7 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Fri, 7 Jul 2023 01:22:01 +0200 Subject: [PATCH] cleanup 3 Signed-off-by: Tim Vaillancourt --- http.go | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/http.go b/http.go index 2685ef1ee..670ac12f4 100644 --- a/http.go +++ b/http.go @@ -10,7 +10,7 @@ import ( "github.com/slackhq/nebula/config" ) -func startHttp(l *logrus.Logger, c *config.C, statsHandler http.Handler, listen, buildVersion string, configTest bool) (f func(), err error) { +func startHttp(l *logrus.Logger, c *config.C, statsHandler http.Handler, listen string) (f func(), err error) { var statsPath string if statsHandler != nil { statsPath = c.GetString("stats.path", "") diff --git a/main.go b/main.go index 6147c5dad..ee2b8eda5 100644 --- a/main.go +++ b/main.go @@ -338,7 +338,7 @@ func Main(c *config.C, configTest bool, buildVersion string, logger *logrus.Logg return nil, util.NewContextualError("Failed to start stats emitter", nil, err) } - httpStart, err := startHttp(l, c, statsHTTPHandler, httpListen, buildVersion, configTest) + httpStart, err := startHttp(l, c, statsHTTPHandler, httpListen) if err != nil { return nil, util.NewContextualError("Failed to start http server", nil, err) }