From 3cf4ad6781487ecabe9d2e5577f37582c2dd6c79 Mon Sep 17 00:00:00 2001 From: Galorhallen Date: Tue, 21 Dec 2021 14:59:21 +0100 Subject: [PATCH] Removed commented code --- internal/server/server.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/server/server.go b/internal/server/server.go index 41d651a..55968b5 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -28,11 +28,6 @@ func NewServer(port uint16, clients []*pihole.Client) *Server { httpServer: httpServer, } - /*fmt.Printf("Server received clients -> %s\n", clients) - for i, client := range clients { - fmt.Printf("Server received clients -> idx: %d, Hostname: %s\n", i, &client) - }*/ - mux.HandleFunc("/metrics", func(writer http.ResponseWriter, request *http.Request) { errors := make([]string, 0) @@ -54,7 +49,6 @@ func NewServer(port uint16, clients []*pihole.Client) *Server { }, ) - //mux.Handle("/metrics", client.Metrics()) mux.Handle("/readiness", s.readinessHandler()) mux.Handle("/liveness", s.livenessHandler())