File: 0001-Revert-alecthomas-kingpin-import-path.patch

package info (click to toggle)
golang-github-prometheus-exporter-toolkit 0.14.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 508 kB
  • sloc: makefile: 6
file content (28 lines) | stat: -rw-r--r-- 824 bytes parent folder | download | duplicates (2)
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
From: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu, 14 Dec 2023 00:02:51 +0100
Subject: Revert alecthomas/kingpin import path

Forwarded: not-needed
Last-Update: 2023-06-12

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.
---
 web/kingpinflag/flag.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/kingpinflag/flag.go b/web/kingpinflag/flag.go
index fab1c8b..1afd974 100644
--- a/web/kingpinflag/flag.go
+++ b/web/kingpinflag/flag.go
@@ -15,8 +15,8 @@ package kingpinflag
 import (
 	"runtime"
 
-	"github.com/alecthomas/kingpin/v2"
 	"github.com/prometheus/exporter-toolkit/web"
+	"gopkg.in/alecthomas/kingpin.v2"
 )
 
 type flagGroup interface {