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

package info (click to toggle)
golang-github-prometheus-common 0.63.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, sid
  • size: 1,424 kB
  • sloc: makefile: 20; sh: 7
file content (27 lines) | stat: -rw-r--r-- 790 bytes parent folder | download | duplicates (3)
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
From: Daniel Swarbrick <dswarbrick@debian.org>
Date: Mon, 13 Nov 2023 13:04:55 +0100
Subject: Revert alecthomas/kingpin import path

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

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

diff --git a/promslog/flag/flag.go b/promslog/flag/flag.go
index 0a164fc..c221c37 100644
--- a/promslog/flag/flag.go
+++ b/promslog/flag/flag.go
@@ -20,7 +20,7 @@ package flag
 import (
 	"strings"
 
-	kingpin "github.com/alecthomas/kingpin/v2"
+	kingpin "gopkg.in/alecthomas/kingpin.v2"
 
 	"github.com/prometheus/common/promslog"
 )