Skip to content

Commit

Permalink
Update alecthomas/kingpin package import
Browse files Browse the repository at this point in the history
alecthomas/kingpin has recently changed where the package is hosted.
This has the consequence to make "go mod tidy" in dovecot_exporter to fail with error : 

kumina#15 0.425 go: dovecot_exporter imports
kumina#15 0.425 	gopkg.in/alecthomas/kingpin.v2: gopkg.in/alecthomas/[email protected]: parsing go.mod:
kumina#15 0.425 	module declares its path as: github.com/alecthomas/kingpin/v2
kumina#15 0.425 	        but was required as: gopkg.in/alecthomas/kingpin.v2
  • Loading branch information
davidferlay authored Feb 23, 2023
1 parent 7ef7911 commit 467cea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dovecot_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (

"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"gopkg.in/alecthomas/kingpin.v2"
"github.com/alecthomas/kingpin/v2"
)

var dovecotUpDesc = prometheus.NewDesc(
Expand Down

0 comments on commit 467cea0

Please sign in to comment.