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

package info (click to toggle)
golang-github-prometheus-common 0.46.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,224 kB
  • sloc: makefile: 23; sh: 7
file content (27 lines) | stat: -rw-r--r-- 784 bytes parent folder | download
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.
---
 promlog/flag/flag.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/promlog/flag/flag.go b/promlog/flag/flag.go
index e045b97..66fc778 100644
--- a/promlog/flag/flag.go
+++ b/promlog/flag/flag.go
@@ -16,7 +16,7 @@ package flag
 import (
 	"strings"
 
-	kingpin "github.com/alecthomas/kingpin/v2"
+	kingpin "gopkg.in/alecthomas/kingpin.v2"
 
 	"github.com/prometheus/common/promlog"
 )