From: Daniel Swarbrick <dswarbrick@debian.org>
Date: Tue, 4 Jul 2023 18:16:13 +0200
Subject: Revert alecthomas/kingpin import path

Forwarded: not-needed

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.
---
 cmd/postgres_exporter/main.go | 2 +-
 collector/collector.go        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmd/postgres_exporter/main.go b/cmd/postgres_exporter/main.go
index 093ddd3..9239899 100644
--- a/cmd/postgres_exporter/main.go
+++ b/cmd/postgres_exporter/main.go
@@ -19,7 +19,6 @@ import (
 	"os"
 	"strings"
 
-	"github.com/alecthomas/kingpin/v2"
 	"github.com/prometheus-community/postgres_exporter/collector"
 	"github.com/prometheus-community/postgres_exporter/config"
 	"github.com/prometheus/client_golang/prometheus"
@@ -30,6 +29,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"
 )
 
 var (
diff --git a/collector/collector.go b/collector/collector.go
index f2102d5..66db8dc 100644
--- a/collector/collector.go
+++ b/collector/collector.go
@@ -21,8 +21,8 @@ import (
 	"sync"
 	"time"
 
-	"github.com/alecthomas/kingpin/v2"
 	"github.com/prometheus/client_golang/prometheus"
+	"gopkg.in/alecthomas/kingpin.v2"
 )
 
 var (
