1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
From: Daniel Swarbrick <dswarbrick@debian.org>
Date: Tue, 13 Jun 2023 15:31:46 +0200
Subject: Revert alecthomas/kingpin import path
Forwarded: not-needed
Last-Update: 2023-06-13
Newer versions of alecthomas/kingpin use a different import path. This patch
can be dropped once the golang-gopkg-alecthomas-kingpin.v2-dev package is
updated and provides the new import path.
---
apache_exporter.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apache_exporter.go b/apache_exporter.go
index 2998da9..020f794 100644
--- a/apache_exporter.go
+++ b/apache_exporter.go
@@ -14,7 +14,6 @@ import (
"syscall"
"time"
- "github.com/alecthomas/kingpin/v2"
"github.com/prometheus/client_golang/prometheus"
versioncollector "github.com/prometheus/client_golang/prometheus/collectors/version"
"github.com/prometheus/client_golang/prometheus/promhttp"
@@ -23,6 +22,7 @@ import (
"github.com/prometheus/common/version"
"github.com/prometheus/exporter-toolkit/web"
"github.com/prometheus/exporter-toolkit/web/kingpinflag"
+ "gopkg.in/alecthomas/kingpin.v2"
"github.com/Lusitaniae/apache_exporter/collector"
)
|