From ff7a26e0d450b9fcd3dc21bd65e26ee08f496487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Sat, 4 Sep 2021 14:59:16 +0200 Subject: [PATCH] Removing a comment --- daemon/main.go | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/daemon/main.go b/daemon/main.go index ab52ca3..f8de886 100644 --- a/daemon/main.go +++ b/daemon/main.go @@ -116,7 +116,6 @@ func main() { } go printDiscoveryLogs() - go cleanDiscoveryPool() // If config.Register is false this instance won't be registered with other nodes @@ -143,23 +142,6 @@ func main() { e.GET("/v1/", listHandler) e.GET("/v1/prometheus/:name", prometheusHandler) - // e.GET("/template/:template", func(c echo.Context) error { - // templateName := c.Param("template") - // discoveries := discoveryStorage.GetAll() - // var body bytes.Buffer - - // tmpl, err := template.New("main").ParseFiles(path.Join(config.TemplatesPath, templateName)) - // if err != nil { - // return c.String(http.StatusInternalServerError, err.Error()) - // } - // err = tmpl.Execute(&body, &discoveries) - // if err != nil { - // return c.String(http.StatusInternalServerError, err.Error()) - // } - - // return c.String(http.StatusOK, body.String()) - // }) - // ------------------------------ // Termination signals processing // ------------------------------