From 6fdcc9bb16b0f4144ab020c1ac1c13f8276f9a8f Mon Sep 17 00:00:00 2001 From: Galorhallen Date: Thu, 10 Feb 2022 11:21:54 +0100 Subject: [PATCH] Fix modules --- go.mod | 1 + main.go | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 74a3712..0dfa482 100644 --- a/go.mod +++ b/go.mod @@ -5,6 +5,7 @@ go 1.17 require ( github.com/heetch/confita v0.10.0 github.com/prometheus/client_golang v1.12.1 + github.com/sirupsen/logrus v1.6.0 github.com/stretchr/testify v1.7.0 github.com/xonvanetta/shutdown v0.0.3 golang.org/x/net v0.0.0-20210525063256-abc453219eb5 diff --git a/main.go b/main.go index ad34050..ad37555 100644 --- a/main.go +++ b/main.go @@ -3,10 +3,6 @@ package main import ( "log" - "time" - - log "github.com/sirupsen/logrus" - "github.com/eko/pihole-exporter/config" "github.com/eko/pihole-exporter/internal/metrics" "github.com/eko/pihole-exporter/internal/pihole"