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"
)
|